Skip to main content
GET
Returns global attribute definitions (product-scoped attributes are excluded) with their values and category assignments.

Query parameters

number
default:"50"
The maximum number of attributes to return.
number
default:"0"
The number of attributes to skip before returning results.
string
The field to sort by, e.g. rank or -created_at.
string
Comma-separated fields to include in the response. Prefix with +/- to add to or remove from the defaults.
string
Search term matched against attribute fields.
string | string[]
Filter by attribute ID(s).
string | string[]
Filter by attribute handle(s).
string | string[]
Filter by type. Values: single_select, multi_select, unit, toggle, text.
boolean
Filter by whether the attribute is required.
boolean
Filter by whether the attribute drives variant combinations.
boolean
Filter by whether the attribute is filterable.
boolean
Filter by whether the attribute is active.
string | string[]
Filter by assigned category ID(s).
object
Filter by creation date using operators like $gt, $lt, $gte, $lte.
object
Filter by update date using operators like $gt, $lt, $gte, $lte.
object[]
Join multiple filter objects with a logical AND.
object[]
Join multiple filter objects with a logical OR.

Response

object[]
number
Total number of matching attributes.
number
Number of skipped attributes.
number
Maximum number of returned attributes.