patch https://a.klaviyo.com/api/catalog-categories//
Update a catalog category with the given category ID.
Rate limits:
Burst: 75/s
Steady: 700/m
Scopes:
catalogs:write
Responses
Update a catalog category with the given category ID.
Rate limits:
Burst: 75/s
Steady: 700/m
Scopes:
catalogs:write
xxxxxxxxxx
17curl --request PATCH \
--url https://a.klaviyo.com/api/catalog-categories/%24custom%3A%3A%3A%24default%3A%3A%3ASAMPLE-DATA-CATEGORY-APPAREL/ \
--header 'Authorization: Klaviyo-API-Key your-private-api-key' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--header 'revision: 2024-02-15' \
--data '
{
"data": {
"type": "catalog-category",
"id": "$custom:::$default:::SAMPLE-DATA-CATEGORY-APPAREL",
"attributes": {
"name": "Sample Data Category Apparel"
},
"relationships": {
"items": {
"data": [
{
"type": "catalog-item",
"id": "$custom:::$default:::SAMPLE-DATA-ITEM-1"
}
]
}
}
xxxxxxxxxx
28}
{
"data": {
"type": "catalog-category",
"id": "$custom:::$default:::SAMPLE-DATA-CATEGORY-APPAREL",
"attributes": {
"external_id": "SAMPLE-DATA-CATEGORY-APPAREL",
"name": "Sample Data Category Apparel",
"updated": "2022-11-08T00:00:00+00:00"
},
"relationships": {
"items": {
"data": [
{
"type": "catalog-item",
"id": "string"
}
],
"links": {
"self": "string",
"related": "string"
}
}