Collection viewed

{
  "clientId": "Required, string type, represents the unique identifier of the client",
  "clientIp": "Required, string type, represents the IP address of the client",
  "context": "Required, please refer to the context definition in the basic structure",
  "data": {
    "collection": {
      "id": "Required, string type, represents the unique identifier of the collection",
      "productVariants": [
        {
          "id": "Required, string type, represents the unique identifier of the product variant",
          "image": {
            "src": "Required, string type, represents the image link"
          },
          "price": {
            "amount": "Required, numeric type, represents the price amount",
            "currencyCode": "Required, string type, represents the currency code (e.g., HKD)"
          },
          "product": {
            "id": "Required, string type, represents the unique identifier of the product",
            "title": "Required, string type, represents the product title",
            "type": "Optional, string type, represents the product type",
            "untranslatedTitle": "Required, string type, represents the untranslated product title",
            "url": "Required, string type, represents the product URL",
            "vendor": "Required, string type, represents the vendor name"
          },
          "sku": "Optional, string type, represents the stock keeping unit",
          "title": "Required, string type, represents the product variant title",
          "untranslatedTitle": "Required, string type, represents the untranslated product variant title"
        }
      ],
      "title": "Required, string type, represents the collection title"
    }
  },
  "id": "Required, string type, represents the unique identifier of the event or record",
  "name": "Required, string type, represents the event name: collection_viewed",
  "seq": "Required, numeric type, represents the sequence number",
  "timestamp": "Required, string type, represents the timestamp (ISO 8601 format)",
  "type": "Required, string type, represents the form type"
}

Last updated

Was this helpful?