Attribute
ObjectFields returned for attribute.
#
Fields
- ID!
id The unique identifier of the attribute.
- [MetadataItem!]!
metadata Gets the metadata associated with the attribute.
- [Metafield!]!
metafields A list of metafields associated with the attribute. If a metafield definition has no explicit assignment for this attribute, the definition’s default value is returned.
- String!
name The name of the attribute.
- ProductAttributeType!
type The type of the attribute.
Possible enum valuesSWATCHPresents the attribute value as a visual swatch, such as a color or pattern.
TEXTPresents the attribute value as text.