Docs
Dashboard

AttributeValue

Interface

Shared fields implemented by attribute value types.

#

Fields


id
ID!

The unique identifier of the attribute value.

metadata
[MetadataItem!]!

Gets the metadata associated with the attribute value.

metafields
[Metafield!]!

A list of metafields associated with the attribute value. If a metafield definition has no explicit assignment for this attribute value, the definition’s default value is returned.

translations
[Translation!]!

Translations registered for this product attribute value.

value
String!

The value of the attribute.

variantReferences
ProductVariantConnection!

A list of references to variants associated with the attribute value.

variantReferencesCount
Long!

The number of references to variants that are associated with the attribute value.

#

Implementations


SwatchAttributeValue
SwatchAttributeValue

Fields returned for swatch attribute value.

TextAttributeValue
TextAttributeValue

Fields returned for text attribute value.