Product Attributes
List Product Attributes
Retrieve a paginated list of catalog product attributes.
GET
Returns global (non-product-scoped) attributes, with optional filtering by type, flags, and category.
Query parameters
number
default:"50"
Maximum number of records to return.
number
default:"0"
Number of records to skip.
string
Field to sort by, prefix with
- for descending order.string
Comma-separated list of fields to include, prefix with
+/- to add or remove from 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:
single_select, multi_select, unit, toggle, or text.boolean
Filter by the required flag.
boolean
Filter by the variant-axis flag.
boolean
Filter by the filterable flag.
boolean
Filter by the active flag.
string | string[]
Filter to attributes linked to the given category(ies) or global to all categories.
object
Filter by creation date with operators like
$gte, $lte.object
Filter by update date with operators like
$gte, $lte.Response
object[]
number
Total number of matching attributes.
number
Number of records skipped.
number
Number of records returned.