customerTypeCreate Mutation
Creates a new customer type.
Added in Saleor 3.23.
Triggers the following webhook events:
- CUSTOMER_TYPE_CREATED (async): A new customer type was created.
customerTypeCreate(
input: CustomerTypeCreateInput!
): CustomerTypeCreate
Details
type CustomerTypeCreate {
errors: [CustomerTypeCreateError!]!
customerType: CustomerType
}
Arguments
input ● CustomerTypeCreateInput!
Fields required to create a customer type.
Type
CustomerTypeCreate
Creates a new customer type.
Added in Saleor 3.23.
Triggers the following webhook events:
- CUSTOMER_TYPE_CREATED (async): A new customer type was created.