AttributeDefinition
Filterable attribute definition
type AttributeDefinition {
displayOrder: Int!
filterValues: [AttributeFilterValue!]
handle: String!
id: ID!
isFilterable: Boolean!
isVisible: Boolean!
name: String!
namespace: String
rangeBounds: AttributeRangeBounds
type: AttributeType!
}
Fields
AttributeDefinition.displayOrder ● Int! non-null scalar
Display order
AttributeDefinition.filterValues ● [AttributeFilterValue!] list object
Available filter values (for SELECT, CHECKBOX, RADIO, COLOR, BOOLEAN)
AttributeDefinition.handle ● String! non-null scalar
URL-friendly identifier
AttributeDefinition.id ● ID! non-null scalar
Attribute ID
AttributeDefinition.isFilterable ● Boolean! non-null scalar
Whether attribute is filterable (admin toggle). For storefront UI rendering signal use isUsableAsFilter (computed).
AttributeDefinition.isVisible ● Boolean! non-null scalar
Whether attribute is visible on product pages
AttributeDefinition.name ● String! non-null scalar
Attribute name (e.g., "Color", "Size")
AttributeDefinition.namespace ● String scalar
Optional grouping namespace (e.g. "inventory", "marketing", "content"). NULL = ungrouped. Helps distinguish custom ERP-data attributes from filterable catalog facets.
AttributeDefinition.rangeBounds ● AttributeRangeBounds object
Range bounds (for NUMBER, CURRENCY)
AttributeDefinition.type ● AttributeType! non-null enum
Attribute data type
Member Of
AvailableFilters object