customerTypeUpdate Mutation
Updates a customer type.
Added in Saleor 3.23.
Triggers the following webhook events:
- CUSTOMER_TYPE_UPDATED (async): A customer type was updated.
Applied directives
@webhookEventsInfo(asyncEvents: [CUSTOMER_TYPE_UPDATED], syncEvents: [])
customerTypeUpdate(id: ID!, input: CustomerTypeUpdateInput!): CustomerTypeUpdate
Returns
Show return type
type CustomerTypeUpdate {
errors: [CustomerTypeUpdateError!]!
customerType: CustomerType
}Arguments
id
id · ID!
ID of the customer type to update.
input
input · CustomerTypeUpdateInput!
Fields required to update a customer type.
Schema: Saleor 3.23.43. Download SDL.