get https://a.klaviyo.com/api/catalog-variants//
Get a catalog item variant with the given variant ID.
Rate limits:
Burst: 350/s
Steady: 3500/m
Scopes:
catalogs:read
Responses
Get a catalog item variant with the given variant ID.
Rate limits:
Burst: 350/s
Steady: 3500/m
Scopes:
catalogs:read
xxxxxxxxxx
curl --request GET \
--url https://a.klaviyo.com/api/catalog-variants/%24custom%3A%3A%3A%24default%3A%3A%3ASAMPLE-DATA-ITEM-1-VARIANT-MEDIUM/ \
--header 'Authorization: Klaviyo-API-Key your-private-api-key' \
--header 'accept: application/json' \
--header 'revision: 2023-09-15'
xxxxxxxxxx
42}
{
"data": {
"type": "catalog-variant",
"id": "$custom:::$default:::SAMPLE-DATA-ITEM-1-VARIANT-MEDIUM",
"attributes": {
"external_id": "SAMPLE-DATA-ITEM-1-VARIANT-MEDIUM",
"title": "Ocean Blue Shirt (Sample) Variant Medium",
"description": "Ocean blue cotton shirt with a narrow collar and buttons down the front and long sleeves. Comfortable fit and titled kaleidoscope patterns.",
"sku": "OBS-MD",
"inventory_policy": 2,
"inventory_quantity": 25,
"price": 42,
"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"
},