ProductAttribute
A product attribute and its values.
type ProductAttribute {
key: String!
productCount: Int!
values: [ProductAttributeValue!]!
valuesTruncated: Boolean!
variantCount: Int!
}
Fields
ProductAttribute.key ● String! non-null scalar
The spelling most variants use; spellings that differ only by case or spacing are one attribute.
ProductAttribute.productCount ● Int! non-null scalar
How many active products carry it (any of its values).
ProductAttribute.values ● [ProductAttributeValue!]! non-null object
Its values in natural order.
ProductAttribute.valuesTruncated ● Boolean! non-null scalar
True when more values exist than were returned.
ProductAttribute.variantCount ● Int! non-null scalar
How many active variants carry it.
Returned By
productAttributes query