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

Updates value of an attribute.

Requires one of the following permissions, depending on the type of the value's attribute: 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
attributeValueUpdate(externalReference: String, id: ID, input: AttributeValueUpdateInput!): AttributeValueUpdate
```

## Returns

[`AttributeValueUpdate`](/api-reference/attributes/objects/attribute-value-update)

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


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


</details>

## Arguments

### externalReference [#external-reference]

**`externalReference`** · [`String`](/api-reference/miscellaneous/scalars/string)

External ID of an AttributeValue to update.

### id [#id]

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

ID of an AttributeValue to update.

### input [#input]

**`input`** · [`AttributeValueUpdateInput!`](/api-reference/attributes/inputs/attribute-value-update-input)

Fields required to update an AttributeValue.

---

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