Skip to main content
Sitecore Documentation
  • Learn
  • Downloads
  • Changelog
  • Roadmap
CDPCloud Portal
Sitecore CDP Developer Documentation
  • Developing with Sitecore CDP
        • 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 CDP Developer Documentation
  2. Stream API

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:

  • Attribute: Type
  • channel: string (uppercase)
  • type: string (uppercase)
  • language: string (uppercase ISO 639-1)
  • currency: string (uppercase ISO 4217)
  • page: string
  • pos: string
  • browser_id: string
  • product: array
  • product.item_id : string

Example 47. CONFIRM event object

{
    "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 48. CONFIRM event object for a flight

{
    "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"}
    ]
}
If you have suggestions for improving this article, let us know!

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

Privacy policySitecore Trust CenterTerms of use
CDPCloud Portal