Skip to main content

CustomerTypeCreate Object

Creates a new customer type.

Added in Saleor 3.23.

Requires the MANAGE_CUSTOMER_TYPES_AND_ATTRIBUTESpermission.

Triggers the following webhook events:

  • CUSTOMER_TYPE_CREATED (async): A new customer type was created.
type CustomerTypeCreate {
errors: [CustomerTypeCreateError!]!
customerType: CustomerType
}

Fields

errors ● [CustomerTypeCreateError!]!

customerType ● CustomerType

Returned By

customerTypeCreate mutation