Klaviyo · Schema

CatalogItemCategoryOp

MarketingEmailSMSCustomer DataEcommerceAutomation

Properties

Name Type Description
data array
View JSON Schema on GitHub

JSON Schema

klaviyo-catalogitemcategoryop-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/CatalogItemCategoryOp",
  "title": "CatalogItemCategoryOp",
  "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": [
    "data"
  ]
}