Skip to main content

customerTypeReorderAttributes Mutation

Reorder the attributes of a customer type.

Added in Saleor 3.23.

Requires the MANAGE_CUSTOMER_TYPES_AND_ATTRIBUTESpermission.

Triggers the following webhook events:

  • CUSTOMER_TYPE_UPDATED (async): A customer type was updated.
customerTypeReorderAttributes(
customerTypeId: ID!
moves: [ReorderInput!]!
): CustomerTypeReorderAttributes
Details
type CustomerTypeReorderAttributes {
customerType: CustomerType
errors: [CustomerTypeReorderAttributesError!]!
}

Arguments

customerTypeId ● ID!

ID of a customer type.

moves ● [ReorderInput!]!

The list of attribute reordering operations.

Type

CustomerTypeReorderAttributes

Reorder the attributes of a customer type.

Added in Saleor 3.23.

Requires the MANAGE_CUSTOMER_TYPES_AND_ATTRIBUTESpermission.

Triggers the following webhook events:

  • CUSTOMER_TYPE_UPDATED (async): A customer type was updated.