patch https://a.klaviyo.com/api/catalog-items//
Update a catalog item with the given item ID.
Rate limits:
Burst: 75/s
Steady: 700/m
Scopes:
Catalogs Write
Responses
Update a catalog item with the given item ID.
Rate limits:
Burst: 75/s
Steady: 700/m
Scopes:
Catalogs Write
xxxxxxxxxx
26curl --request PATCH \
--url https://a.klaviyo.com/api/catalog-items/%24custom%3A%3A%3A%24default%3A%3A%3ASAMPLE-DATA-ITEM-1/ \
--header 'Authorization: Klaviyo-API-Key your-private-api-key' \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--header 'revision: 2023-01-24' \
--data '
{
"data": {
"type": "catalog-item",
"id": "$custom:::$default:::SAMPLE-DATA-ITEM-1",
"attributes": {
"title": "Ocean Blue Shirt (Sample)",
"price": 42,
"description": "A description of the catalog item.",
"url": "https://via.placeholder.com/150",
"image_full_url": "https://via.placeholder.com/300",
"image_thumbnail_url": "https://via.placeholder.com/150",
"custom_metadata": {
"newKey": "New Value"
},
"published": true
},
"relationships": {
xxxxxxxxxx
27}
{
"data": {
"type": "catalog-item",
"id": "$custom:::$default:::SAMPLE-DATA-ITEM-1",
"attributes": {
"external_id": "SAMPLE-DATA-ITEM-1",
"title": "Ocean Blue Shirt (Sample)",
"description": "Ocean blue cotton shirt with a narrow collar and buttons down the front and long sleeves. Comfortable fit and titled kaleidoscope patterns.",
"price": "Ocean blue cotton shirt with a narrow collar and buttons down the front and long sleeves. Comfortable fit and titled kaleidoscope patterns.",
"url": "https://via.placeholder.com/150",
"image_full_url": "https://via.placeholder.com/300",
"image_thumbnail_url": "https://via.placeholder.com/150",
"images": [
"https://via.placeholder.com/150"
],
"custom_metadata": {
"Top Pick": true
},
"published": true,
"created": "2022-11-08T00:00:00",
"updated": "2022-11-08T00:00:00"
},