---
title: attributeReorderValues Mutation
seo:
  title: attributeReorderValues Mutation
  description: 'Mutation: attributeReorderValues Mutation'
slug: api-reference/attributes/mutations/attribute-reorder-values
sidebar:
  label: attributeReorderValues
search:
  tags:
    - API reference
    - Attributes
lastModified: '2026-08-10'
---

Reorder the values of an attribute.

Requires one of the following permissions, depending on the attribute type: MANAGE_PRODUCT_TYPES_AND_ATTRIBUTES for `PRODUCT_TYPE` attributes, MANAGE_PAGE_TYPES_AND_ATTRIBUTES for `PAGE_TYPE` attributes, MANAGE_CUSTOMER_TYPES_AND_ATTRIBUTES for `CUSTOMER_TYPE` attributes.

Triggers the following webhook events:
- ATTRIBUTE_VALUE_UPDATED (async): An attribute value was updated.
- ATTRIBUTE_UPDATED (async): An attribute was updated.



**Applied directives**

```graphql
@webhookEventsInfo(asyncEvents: [ATTRIBUTE_VALUE_UPDATED, ATTRIBUTE_UPDATED], syncEvents: [])
```



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

## Returns

[`AttributeReorderValues`](/api-reference/attributes/objects/attribute-reorder-values)

<details>
<summary>Show return type</summary>


```graphql
type AttributeReorderValues {
  attribute: Attribute
  attributeErrors: [AttributeError!]! @deprecated(reason: "Use `errors` field instead.")
  errors: [AttributeError!]!
}
```


</details>

## Arguments

### attributeId [#attribute-id]

**`attributeId`** · [`ID!`](/api-reference/miscellaneous/scalars/id)

ID of an attribute.

### moves [#moves]

**`moves`** · [`[ReorderInput!]!`](/api-reference/miscellaneous/inputs/reorder-input)

The list of reordering operations for given attribute values.

---

Schema: **Saleor 3.23.43**. [Download SDL](/schema/saleor.graphql).
