Skip to main content

productReorderAttributeValues Mutation

Reorder product attribute values.

Requires the MANAGE_PRODUCTSpermission.
productReorderAttributeValues(
attributeId: ID!
moves: [ReorderInput!]!
productId: ID!
): ProductReorderAttributeValues
Show return type

Arguments

attributeId ● ID!

ID of an attribute.

moves ● [ReorderInput!]!

The list of reordering operations for given attribute values.

productId ● ID!

ID of a product.

Type

ProductReorderAttributeValues

Reorder product attribute values.

Requires the MANAGE_PRODUCTSpermission.