---
title: AttributeValueUpdateInput Input Type
seo:
  title: AttributeValueUpdateInput Input Type
  description: AttributeValueUpdateInput Input Type - no description
slug: api-reference/attributes/inputs/attribute-value-update-input
sidebar:
  label: AttributeValueUpdateInput
search:
  tags:
    - API reference
    - Attributes
lastModified: '2026-04-13'
---

```graphql
input AttributeValueUpdateInput {
  value: String
  richText: JSONString @deprecated(reason: "The rich text attribute hasn't got predefined value, so can be specified only from instance that supports the given attribute.")
  plainText: String @deprecated(reason: "The plain text attribute hasn't got predefined value, so can be specified only from instance that supports the given attribute.")
  fileUrl: String
  contentType: String
  externalReference: String
  name: String
}
```


## Fields

### value [#value]

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

Represent value of the attribute value (e.g. color values for swatch attributes).
### richText [#rich-text]

**`richText`** · [`JSONString`](/api-reference/miscellaneous/scalars/jsonstring)

Represents the text of the attribute value, includes formatting.

Rich text format. For reference see https://editorjs.io/

:::warning[Deprecated]
The rich text attribute hasn't got predefined value, so can be specified only from instance that supports the given attribute.
:::

### plainText [#plain-text]

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

Represents the text of the attribute value, plain text without formatting.

:::warning[Deprecated]
The plain text attribute hasn't got predefined value, so can be specified only from instance that supports the given attribute.
:::

### fileUrl [#file-url]

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

URL of the file attribute. Every time, a new value is created.
### contentType [#content-type]

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

File content type.
### externalReference [#external-reference]

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

External ID of this attribute value.
### name [#name]

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

Name of a value displayed in the interface.

## Used by

- [AttributeUpdateInput (inputs)](/api-reference/attributes/inputs/attribute-update-input)
- [attributeValueUpdate (mutations)](/api-reference/attributes/mutations/attribute-value-update)

---

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