Skip to content
Saleor
Esc
↑↓navigate↵open⌘Jpreview

Schema: Saleor 3.23.43Download SDLUpgrade guides

On this page

AttributeValue Object

Represents a value of an attribute.

type AttributeValue implements Node {
  id: ID!
  name: String
  slug: String
  value: String
  translation(languageCode: LanguageCodeEnum!): AttributeValueTranslation
  inputType: AttributeInputTypeEnum
  reference: ID
  file: File
  richText: JSONString
  plainText: String
  boolean: Boolean
  date: Date
  dateTime: DateTime
  externalReference: String
}

Interfaces

Node

Fields

id

id · ID!

The ID of the attribute value.

name

name · String

Name of a value displayed in the interface.

slug

slug · String

Internal representation of a value (unique per attribute).

value

value · String

Represent value of the attribute value (e.g. color values for swatch attributes).

translation

translation · AttributeValueTranslation

Returns translated attribute value fields for the given language code.

languageCode

languageCode · LanguageCodeEnum!

A language code to return the translation for attribute value.

inputType

inputType · AttributeInputTypeEnum

The input type to use for entering attribute values in the dashboard.

reference

reference · ID

The ID of the referenced object.

file

file · File

Represents file URL and content type (if attribute value is a file).

richText

richText · JSONString

Represents the text of the attribute value, includes formatting.

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

plainText

plainText · String

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

boolean

boolean · Boolean

Represents the boolean value of the attribute value.

date

date · Date

Represents the date value of the attribute value.

dateTime

dateTime · DateTime

Represents the date/time value of the attribute value.

externalReference

externalReference · String

External ID of this attribute value.

Used by


Schema: Saleor 3.23.43. Download SDL.

Last updated on April 13, 2026

Was this page helpful?