Get Catalog Item Categories
GET {{baseUrl}}/api/catalog-items/:item_id/categories/
Get all catalog categories that an item with the given item ID is in.
Catalog categories can be sorted by the following fields, in ascending and descending order: created
Returns a maximum of 100 categories per request.
Rate limits:
Burst: 350/s
Steady: 3500/m
Scopes:
Catalogs Read
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
fields[catalog-category] | string | For more information please visit https://developers.klaviyo.com/en/v2023-01-24/reference/api-overview#sparse-fieldsets | |
filter | string | For more information please visit https://developers.klaviyo.com/en/v2023-01-24/reference/api-overview#filtering<br>Allowed field(s)/operator(s):<br>ids : any <br>item : equals <br>name : contains | |
page[cursor] | string | For more information please visit https://developers.klaviyo.com/en/v2023-01-24/reference/api-overview#pagination | |
sort | string | For more information please visit https://developers.klaviyo.com/en/v2023-01-24/reference/api-overview#sorting |
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
revision | string | (Required) API endpoint revision (format: YYYY-MM-DD[.suffix]) | |
Accept | string |
RESPONSES
status: OK
{"data":[{"type":"catalog-category","id":"tempor proident anim","attributes":{"external_id":"consequat fugiat ea occaecat esse","name":"anim ex amet eiusmod","updated":"2022-11-08T00:00:00"},"links":{"self":"https://sGtAhBPcUnp.wkqp,zljvkbKJx-cKzjD,58SGNm+.PuLmaEdr9QnS6gDcV,f0V"}},{"type":"catalog-category","id":"in occaecat officia sit minim","attributes":{"external_id":"sit fugiat ut","name":"enim officia exercitation","updated":"2022-11-08T00:00:00"},"links":{"self":"https://lTv.stuwg,Cxw0PViAyZm"}}],"links":{"self":"https://Zuk.qgGCtzOyOriwyyH45ppL1M4QYxIS2y","first":"https://VEv.iwr62guVaXb-AA4cup+hVYl-fz","last":"https://qijZUKwkiEyCGxQSoeNfrbkUUkbubVTQf.tvqHu.AeUu2Qdhf26RGCiJ5Am,SUlm5p.nlL-O2b9HXc9GaYb-D7BtfMeDwQm","prev":"http://xkYJiOYbZKesxWPhPeEJcMPdVhhMIwx.eyXO6BY.EA7qyWfXr88DXwpvO6In,v1ZMIl3ddfoAiw","next":"http://ZqeEEaHfu.hwuTvud7U3NNqyoTqKZ15dfB1ejpxrNd9O"}}