Skip to main content

CustomerTypeDelete Object

Deletes a customer type. Users of the deleted customer type are reassigned to the default customer type.

Added in Saleor 3.23.

Requires the MANAGE_CUSTOMER_TYPES_AND_ATTRIBUTESpermission.

Triggers the following webhook events:

  • CUSTOMER_TYPE_DELETED (async): A customer type was deleted.
type CustomerTypeDelete {
errors: [CustomerTypeDeleteError!]!
customerType: CustomerType
}

Fields

errors ● [CustomerTypeDeleteError!]!

customerType ● CustomerType

Returned By

customerTypeDelete mutation