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.
Applied directives
@webhookEventsInfo(asyncEvents: [CUSTOMER_TYPE_CREATED], syncEvents: [])
customerTypeCreate(input: CustomerTypeCreateInput!): CustomerTypeCreate
Returns
Show return type
type CustomerTypeCreate {
errors: [CustomerTypeCreateError!]!
customerType: CustomerType
}Arguments
input
input · CustomerTypeCreateInput!
Fields required to create a customer type.
Schema: Saleor 3.23.43. Download SDL.