Create Catalog Variant
POSThttps://a.klaviyo.com/api/catalog-variants
Create a new variant for a related catalog item.
- Revision header
revision: 2025-01-15required- Scopes
catalogs:write- Rate limits
- Burst:
75/sSteady:700/m
Headers
API endpoint revision (format: YYYY-MM-DD[.suffix])
2025-01-15
Request body
Content type: application/vnd.api+jsonrequired
Show 3 fields
Show 15 fields
The ID of the catalog item variant in an external system.
The type of catalog. Currently only "$default" is supported.
The integration type. Currently only "$custom" is supported.
The title of the catalog item variant.
A description of the catalog item variant.
The SKU of the catalog item variant.
This field controls the visibility of this catalog item variant in product feeds/blocks. This field supports the following values:
1: a product will not appear in dynamic product recommendation feeds and blocks if it is out of stock.0or2: a product can appear in dynamic product recommendation feeds and blocks regardless of inventory quantity.Enter a whole number. Until you do, the example request uses the example value.
The quantity of the catalog item variant currently in stock.
Enter a number. Until you do, the example request uses the example value.
This field can be used to set the price on the catalog item variant, which is what gets displayed for the item variant when included in emails. For most price-update use cases, you will also want to update the
priceon any parent items using the Update Catalog Item Endpoint.Enter a number. Until you do, the example request uses the example value.
URL pointing to the location of the catalog item variant on your website.
URL pointing to the location of a full image of the catalog item variant.
URL pointing to the location of an image thumbnail of the catalog item variant.
List of URLs pointing to the locations of images of the catalog item variant.
Flat JSON blob to provide custom metadata about the catalog item variant. May not exceed 100kb.
Enter valid JSON. Until you do, the example request uses the example value.
Boolean value indicating whether the catalog item variant is published.
Responses
201Success
Content type: application/vnd.api+json
Show 5 fields
The catalog variant ID is a compound ID (string), with format:
{integration}:::{catalog}:::{external_id}. Currently, the only supported integration type is$custom, and the only supported catalog is$default.Show 15 fields
The ID of the catalog item variant in an external system.
The title of the catalog item variant.
A description of the catalog item variant.
The SKU of the catalog item variant.
This field controls the visibility of this catalog item variant in product feeds/blocks. This field supports the following values:
1: a product will not appear in dynamic product recommendation feeds and blocks if it is out of stock.0or2: a product can appear in dynamic product recommendation feeds and blocks regardless of inventory quantity.The quantity of the catalog item variant currently in stock.
This field can be used to set the price on the catalog item variant, which is what gets displayed for the item variant when included in emails. For most price-update use cases, you will also want to update the
priceon any parent items using the Update Catalog Item Endpoint.URL pointing to the location of the catalog item variant on your website.
URL pointing to the location of a full image of the catalog item variant.
URL pointing to the location of an image thumbnail of the catalog item variant.
List of URLs pointing to the locations of images of the catalog item variant.
Flat JSON blob to provide custom metadata about the catalog item variant. May not exceed 100kb.
Boolean value indicating whether the catalog item variant is published.
Date and time when the catalog item variant was created, in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.mmmmmm).
Date and time when the catalog item variant was last updated, in ISO 8601 format (YYYY-MM-DDTHH:MM:SS.mmmmmm).
Show 1 field
4XXClient Error
Content type: application/vnd.api+json
5XXServer Error
Content type: application/vnd.api+json