Skip to main content
Version: 3.x

attributeReorderValues

Reorder the values of an attribute.

Requires MANAGE_PRODUCT_TYPES_AND_ATTRIBUTESpermission.

Triggers the following webhook events:

  • ATTRIBUTE_VALUE_UPDATED (async): An attribute value was updated.
  • ATTRIBUTE_UPDATED (async): An attribute was updated.
attributeReorderValues(
attributeId: ID!
moves: [ReorderInput!]!
): AttributeReorderValues

Arguments

attributeReorderValues.attributeId ● ID! non-null scalar

ID of an attribute.

attributeReorderValues.moves ● [ReorderInput!]! non-null input

The list of reordering operations for given attribute values.

Type

AttributeReorderValues object

Reorder the values of an attribute.

Requires MANAGE_PRODUCT_TYPES_AND_ATTRIBUTESpermission.

Triggers the following webhook events:

  • ATTRIBUTE_VALUE_UPDATED (async): An attribute value was updated.
  • ATTRIBUTE_UPDATED (async): An attribute was updated.

Was this page helpful?