CONFIRM event
The CONFIRM event captures the confirmation of purchased products. It is a vector of the products that are confirmed to be in the cart before the payment is made.
To send a CONFIRM event, use the following required attributes:
Example 50. CONFIRM event object
RequestResponse
{
"channel": "MOBILE_APP",
"type": "CONFIRM",
"language": "EN",
"currency": "EUR",
"page": "home page",
"pos": "myretailsite/ireland",
"browser_id": "a38b230c-11eb-4cf9-8d5d-274e9f344925",
"product": [
{"item_id": "SHOES_8475GHT"},
{"item_id": "TSHIRT_XLGRN"}
]
}
Example 51. CONFIRM event object for a flight
RequestResponse
{
"channel": "MOBILE_APP",
"type": "CONFIRM",
"language": "EN",
"currency": "EUR",
"page": "home page",
"pos": "spinair.com/france",
"browser_id": "a38b230c-11eb-4cf9-8d5d-274e9f344925",
"product": [
{"item_id": "FLIGHT_1"},
{"item_id": "FLIGHT_2"},
{"item_id": "BAG_1"},
{"item_id": "SEAT_1"}
]
}