Skip to main content
Version: 3.x

attributeReorderValues

Reorder the values of an attribute.

Requires one of the following permissions: MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES.

attributeReorderValues(
attributeId: ID!
moves: [ReorderInput!]!
): AttributeReorderValues

Arguments

attributeId (ID!)

ID of an attribute.

moves ([ReorderInput!]!)

The list of reordering operations for given attribute values.

Type

AttributeReorderValues

Reorder the values of an attribute.

Requires one of the following permissions: MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES.