SelectedAttribute
Represents a selected attribute with its values
type SelectedAttribute {
attribute: Attribute!
values: [AttributeValue!]!
templated: Boolean!
}
Fields
SelectedAttribute.attribute ● Attribute! non-null object
The attribute definition. Its values field lists every value the attribute CAN take — for the values actually assigned here, use the values field alongside this one, not the one nested inside it.
SelectedAttribute.values ● [AttributeValue!]! non-null object
The values assigned to THIS object — this product, variant, or custom-field owner. Usually the field you want. Contrast attribute.values, which is the attribute's full catalogue of possible values and is identical for every object sharing it.
SelectedAttribute.templated ● Boolean! non-null scalar
True if the selected attribute is provided by a product type or custom field template, false if manually assigned
Member Of
Category object ● Collection object ● Fulfillment object ● Product object ● ProductVariant object ● User object