Skip to main content
Users
CloudPortalLogin
  • Powered byPowered by
Developing with Sitecore Personalize
Data privacy
Before you start sending data
Integrating with Sitecore Personalize
Stream API
Personalize API Flow execution
REST APIs
  • Sitecore Personalize for developers
  • Stream API
  • Direct HTTP requests reference
  • Sending events
  • CONFIRM event for flights

CONFIRM event for flights

Attribute

Description

Type

Example(s)

Required/optional

channel

The channel captured on each page the guest visited.

string (uppercase)

"WEB", "MOBILE_WEB", "MOBILE_APP"

Required

type

The type of event.

string (uppercase)

"CONFIRM"

Required

language

The language captured on each page the Guest visited.

string (2 letter ISO 639 language code)

"EN", "FR", "DE"

Required

currency

The type of currency.

string (3 letter ISO 4217)

"EUR", "USD", "GBP"

Required

page

The name of the webpage the guest visited.

string

"home page", "search page" "/home", "/confirm"

Required

pos

The point of sale (storefront) captured on each page the guest visited.

string (predefined by the client)

"spinflight.com", "spinair.com"

Required

browser_id

The ID of a browser generated by Sitecore Personalize.

string (UUID)

"a38b230c-11eb-4cf9-8d5d-274e9f344925​"

Required

product

A JSON array containing a list of item_id objects.

JSON array

[{ "item_id": "FLIGHT_1" }, { "item_id": "FLIGHT_2" }, { "item_id": "BAG_1" }, { "item_id": "SEAT_1" }]

Required

product.item_id

The item ID of the product to be confirmed as purchased.

string

"FLIGHT_1"

Required

RequestResponse
{
    "channel": "WEB",
    "type": "CONFIRM",
    "language": "EN",
    "currency": "EUR",
    "page": "home page",
    "pos": "spinair.com",
    "browser_id": "a38b230c-11eb-4cf9-8d5d-274e9f344925​",
    "product": [{
        "item_id": "FLIGHT_1"
    }, {
        "item_id": "FLIGHT_2"
    }, {
        "item_id": "BAG_1"
    }, {
        "item_id": "SEAT_1"
    }]
}

Do you have some feedback for us?

If you have suggestions for improving this article,

Privacy policySitecore Trust CenterCopyright © 1999-2026 Sitecore