Product added to cart
{
"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": {
"cartLine": {
"cost": {
"totalAmount": {
"amount": "Required, numeric type, represents the total amount",
"currencyCode": "Required, string type, represents the currency code (e.g., USD)"
}
},
"merchandise": {
"id": "Required, string type, represents the unique identifier of the product",
"image": {
"src": "Required, string type, represents the image link"
},
"price": {
"amount": "Required, numeric type, represents the unit price amount",
"currencyCode": "Required, string type, represents the currency code (e.g., USD)"
},
"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": "Optional, string type, represents the product variant title",
"untranslatedTitle": "Optional, string type, represents the untranslated product variant title"
},
"quantity": "Required, numeric type, represents the quantity of the product"
}
},
"id": "Required, string type, represents the unique identifier of the event or record",
"name": "Required, string type, represents the event name: product_added_to_cart",
"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?