post https://a.klaviyo.com/api/catalog-categories
Create a new catalog category.
Rate limits:
Burst: 75/s
Steady: 700/m
Scopes:
catalogs:write
Responses
Create a new catalog category.
Rate limits:
Burst: 75/s
Steady: 700/m
Scopes:
catalogs:write
xxxxxxxxxx
17curl --request POST \
--url https://a.klaviyo.com/api/catalog-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",
"attributes": {
"integration_type": "$custom",
"catalog_type": "$default"
},
"relationships": {
"items": {
"data": [
{
"type": "catalog-item"
}
]
}
}
}
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"
}
}