Skip to main content

productReorderAttributeValues Mutation

Reorder product attribute values.

Requires the MANAGE_PRODUCTSpermission.
productReorderAttributeValues(
attributeId: ID!
moves: [ReorderInput!]!
productId: ID!
): ProductReorderAttributeValues
Details
type ProductReorderAttributeValues {
product: Product
productErrors: [ProductError!]! @deprecated
errors: [ProductError!]!
}

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.