Skip to main content
Sitecore Documentation
  • Learn
  • Downloads
  • Changelog
  • Roadmap
PersonalizeCloud Portal
Sitecore Personalize developer documentation
  • Developing with Sitecore Personalize
        • Authentication
        • Base URL
        • Retrieve the browser ID
            • IDENTITY event
            • SEARCH event
            • ADD event
            • ADD event for flights
            • ADD event for ancillary product
            • ADD_CONSUMERS event
            • ADD_CONTACTS event
            • CONFIRM event
            • CONFIRM event for flights
            • CHECKOUT event
            • ORDER_CHECKOUT event
            • CLEAR_CART event
            • PAYMENT event
            • Custom event
        • Sending orders
        • Cart abandonment
        • Send additional event data
        • Troubleshooting
  1. Sending events
  1. Sitecore Personalize developer documentation
  2. Stream API

ADD event for flights

The ADD event sends product data to a large number of data points for both decisioning and for populating content into the abandoned cart email message.

When sending multiple ADD events, you must send them in the correct order. For example, for a DUB to LHR return flight, first send the ADD event for DUB-LHR, then in the callback send the ADD event for LHR-DUB.

AttributeDescriptionTypeExample(s)Required/optional
channelThe channel captured on each page the guest visited.stringWEB", "MOBILE_WEB", "MOBILE_APP"Required
typeThe type of event.string (uppercase)"ADD"Required
languageThe language captured on each page the guest visited.string (2 letter ISO 639 language code)"EN", "FR", "DE"Required
currencyThe type of currency.string (3 letter ISO 4217)"EUR", "USD", "GBP"Required
pageThe name of the webpage the guest visited.string"home page", "search page" "/home", "/confirm"Required
posThe point of sale (storefront) captured on each page the guest visited.string (predefined by client)"flightspin.com", "spinair.com"Required
browser_idThe ID of a browser generated by Sitecore Personalize.string (UUID)"56860bff-94ba-4d84-aa37-2b5a83d5411b"Required
productThe JSON object that contains the product entity data.JSON objectN/ARequired
product.typeThe type of product added to cart.string (uppercase)"FLIGHT"Required
product.item_idThe item ID of the product added to the cart. Used in ETL to create the order.string"FLIGHT_1"Required
product.nameThe name of the product added to the cart.string (suggest title case)"DUB-LHR Economy Flight"Required
product.currency The currency of the product added to the cart.string (3 letter ISO 4217)"EUR", "USD", "NZD"Required
product.priceThe unit price of the product. Total price of the product is calculated by unit price multiplied by quantity.number20, 1000.5Required
product.quantityThe number of unit added. Total price of the product is calculated by unit price multiplied by quantity.integer2Required
product.product_idThe product ID of the product added. Used in Analytics for reporting.string (suggest title case)"DUB-LHR|Economy|EconomyPlus"Required
product.originThe IATA code (airport only) of the flight origin.string (IATA airport code)"DUB", "LHR", "BCN"Required
product.destinationThe IATA code (airport only) of the flight destination.string (IATA airport code)"DUB", "LHR", "BCN"Required
product.flight_typeThe type of flight.string (uppercase)"OW" for One way, "RT" for ReturnRequired
product.pax_typeThe passenger type of flight ticket.string (uppercase)"ADT" for adult, "CHD" for child, "INF" for infantRequired
product.flight_segmentThe JSON object that contains the flight segment entity data.JSON objectN/ARequired
product.flight_segment.originThe IATA code (airport only) of the flight segment origin.string (IATA airport code)"DUB", "LHR", "BCN"Required
product.flight_segment.destinationThe IATA code (airport only) of the flight segment destination.string (IATA airport code)"DUB", "LHR", "BCN"Required
product.flight_segment.departure_date_timeThe local departure date and time of the flight segment.string "YYYY-MM-DD’T’hh
" ISO 8601 Date/Time local time without timezone
"2016-08-21T16:17"Required
product.flight_segment.arrival_date_timeThe local arrival date and time of the flight segment.string "YYYY-MM-DD’T’hh
" ISO 8601 Date/Time local time without timezone
"2016-08-23T07:00"Required
product.flight_segment.flight_numberThe number of the carrier.string"1230"Required
product.flight_segment.carrierThe marketing carrier code of the flight segment.2 character IATA carrier code (uppercase)"EI", "FR", "BA"Required
product.flight_segment.fare_classThe fare class of the flight segment.string (title case)"Economy", "Premium Economy", "Business", "First Class"Required
product.flight_segment.equipment_typeThe equipment type relevant to the flight segment.string"A380", "B774", "A310"Optional
product.flight_segment.fare_familyThe fare family of the flight segment.string (suggest title case)"Economy Plus", "Flexi Economy"Optional
{
    "channel": "WEB",
    "type": "ADD",
    "language": "EN",
    "currency": "EUR",
    "page": "itinerary page",
    "pos": "spinair.com",
    "browser_id": "a38b230c-11eb-4cf9-8d5d-274e9f344925​",
    "product": {
        "type": "FLIGHT",
        "item_id": "FLIGHT_1",
        "name": "DUB-LHR Economy Flight",
        "currency": "EUR",
        "price": 200,
        "product_id": "DUB-LHR|Economy|EconomyPlus",
        "origin": "DUB",
        "destination": "LHR",
        "flight_type": "OW",
        "pax_type": "ADT",
        "quantity": 1,
        "flight_segment": [{
            "origin": "DUB",
            "destination": "LHR",
            "departure_date_time": "2015-01-14T06:30",
            "arrival_date_time": "2015-01-14T07:50",
            "flight_number": "1000",
            "carrier": "SA",
            "fare_class": "Economy",
            "fare_family": "Economy Plus"
        }]
    }
}
If you have suggestions for improving this article, let us know!

Documentation Assistant

This assistant uses AI to generate responses based on Sitecore documentation. While it has access to official sources, answers may be incomplete or inaccurate and should not be considered official advice or support.
Powered by
k
kapa.ai
Protected by reCAPTCHA

© Copyright 2026, Sitecore A/S or a Sitecore affiliated company.
All rights reserved.

Privacy policySitecore Trust CenterTerms of use