Skip to main content

CustomerTypeUnassignAttributes Object

Unassign attributes from a given customer type. Values already assigned to users are kept in the database, but are hidden until the attribute is assigned to the user's customer type again.

Added in Saleor 3.23.

Requires the MANAGE_CUSTOMER_TYPES_AND_ATTRIBUTESpermission.

Triggers the following webhook events:

  • CUSTOMER_TYPE_UPDATED (async): A customer type was updated.
type CustomerTypeUnassignAttributes {
customerType: CustomerType
errors: [CustomerTypeUnassignAttributesError!]!
}

Fields

customerType ● CustomerType

The updated customer type.

errors ● [CustomerTypeUnassignAttributesError!]!

Returned By

customerTypeUnassignAttributes mutation