Skip to main content

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 attributes

Attribute from which values are reordered.

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

DEPRECATED

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

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

Returned By

attributeReorderValues mutation