Klaviyo · Schema
CatalogItemUpdateQueryResourceObject
MarketingEmailSMSCustomer DataEcommerceAutomation
Properties
| Name | Type | Description |
|---|---|---|
| type | object | |
| id | string | The catalog item 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 |
| attributes | object | |
| relationships | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/CatalogItemUpdateQueryResourceObject",
"title": "CatalogItemUpdateQueryResourceObject",
"type": "object",
"properties": {
"type": {
"$ref": "#/components/schemas/CatalogItemEnum"
},
"id": {
"description": "The catalog item 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`.",
"type": "string",
"example": "$custom:::$default:::SAMPLE-DATA-ITEM-1"
},
"attributes": {
"type": "object",
"properties": {
"title": {
"description": "The title of the catalog item.",
"type": "string",
"example": "Ocean Blue Shirt (Sample)",
"nullable": true
},
"price": {
"description": "This field can be used to set the price on the catalog item, which is what gets displayed for the item when included in emails. For most price-update use cases, you will also want to update the `price` on any child variants, using the [Update Catalog Variant Endpoint](https://developers.klaviyo.com/en/reference/update_catalog_variant).",
"type": "number",
"example": 42,
"nullable": true
},
"description": {
"description": "A description of the catalog item.",
"type": "string",
"example": "A description of the catalog item.",
"nullable": true
},
"url": {
"description": "URL pointing to the location of the catalog item on your website.",
"type": "string",
"example": "https://via.placeholder.com/150",
"nullable": true
},
"image_full_url": {
"description": "URL pointing to the location of a full image of the catalog item.",
"type": "string",
"example": "https://via.placeholder.com/300",
"nullable": true
},
"image_thumbnail_url": {
"description": "URL pointing to the location of an image thumbnail of the catalog item",
"type": "string",
"example": "https://via.placeholder.com/150",
"nullable": true
},
"images": {
"description": "List of URLs pointing to the locations of images of the catalog item.",
"type": "array",
"items": {
"type": "string"
},
"example": [
"https://via.placeholder.com/150"
],
"nullable": true
},
"custom_metadata": {
"description": "Flat JSON blob to provide custom metadata about the catalog item. May not exceed 100kb.",
"type": "object",
"example": {
"Top Pick": true
},
"nullable": true
},
"published": {
"description": "Boolean value indicating whether the catalog item is published.",
"type": "boolean",
"example": true,
"nullable": true
}
}
},
"relationships": {
"type": "object",
"properties": {
"categories": {
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"type": "object",
"required": [
"type",
"id"
],
"properties": {
"type": {
"$ref": "#/components/schemas/CatalogCategoryEnum"
},
"id": {
"description": "A list of catalog category IDs representing the categories the item is in",
"type": "string",
"example": "$custom:::$default:::SAMPLE-DATA-CATEGORY-APPAREL"
}
}
}
}
}
}
}
}
},
"required": [
"type",
"id",
"attributes"
]
}