Skip to main content

CustomerTypeAssignAttributes Object

Assign attributes to a given customer type.

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 CustomerTypeAssignAttributes {
customerType: CustomerType
errors: [CustomerTypeAssignAttributesError!]!
}

Fields

customerType ● CustomerType

The updated customer type.

errors ● [CustomerTypeAssignAttributesError!]!

Returned By

customerTypeAssignAttributes mutation