post https://a.klaviyo.com/api/catalog-items//relationships/categories
Create a new catalog category relationship for the given item ID.
Rate limits:
Burst: 75/s
Steady: 700/m
Scopes:
catalogs:write
Responses
204Success
Create a new catalog category relationship for the given item ID.
Rate limits:
Burst: 75/s
Steady: 700/m
Scopes:
catalogs:write
204Success
xxxxxxxxxx
15curl --request POST \
--url https://a.klaviyo.com/api/catalog-items/id/relationships/categories \
--header 'Authorization: Klaviyo-API-Key your-private-api-key' \
--header 'accept: application/vnd.api+json' \
--header 'content-type: application/vnd.api+json' \
--header 'revision: 2025-01-15' \
--data '
{
"data": [
{
"type": "catalog-category"
}
]
}
'
xxxxxxxxxx
14{
"errors": [
{
"id": "string",
"code": "string",
"title": "string",
"detail": "string",
"source": {
"pointer": "string",
"parameter": "string"
}
}
]
}