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.
type AttributeReorderValues {
attribute: Attribute
attributeErrors: [AttributeError!]! @deprecated
errors: [AttributeError!]!
}

Fields

AttributeReorderValues.attribute ● Attribute object

Attribute from which values are reordered.

AttributeReorderValues.attributeErrors ● [AttributeError!]! deprecated non-null object

DEPRECATED

This field will be removed in Saleor 4.0. Use errors field instead.

AttributeReorderValues.errors ● [AttributeError!]! non-null object

Returned by

attributeReorderValues mutation


Was this page helpful?