customerTypeReorderAttributes Mutation
Reorder the attributes of 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: [])
customerTypeReorderAttributes(customerTypeId: ID!, moves: [ReorderInput!]!): CustomerTypeReorderAttributes
Returns
Show return type
type CustomerTypeReorderAttributes {
customerType: CustomerType
errors: [CustomerTypeReorderAttributesError!]!
}Arguments
customerTypeId
customerTypeId · ID!
ID of a customer type.
moves
moves · [ReorderInput!]!
The list of attribute reordering operations.
Schema: Saleor 3.23.43. Download SDL.