Skip to main content
Users
CloudPortalLogin
  • Powered byPowered by
Developing with Sitecore CDP
Data privacy
Before you start sending data
Integrating with Sitecore CDP
Stream API
Batch API
REST APIs
Data lake export service
  • Sitecore CDP for developers
  • REST APIs
  • Order item REST API v2.1
  • Examples of order items

Examples of order items

The Order item REST API lets you create order items to describe the purchased item in detail. The Order item data extension REST API lets you include additional information of your choice about the order item.

Here's a few examples of order items you can send to Sitecore CDP using version 2.1 of the Order item and the Order item data extension REST APIs.

Example 59. Flight item

Here's an example payload for an order item that describes a flight purchase:

RequestResponse
{
  "name": "NYC-PAR Flight",
  "description": "Flight from New York City to Paris",
  "type": "Flight Item",
  "productId": "FL44124",
  "price": 105,
  "currencyCode": "EUR",
  "originalPrice": 110,
  "originalCurrencyCode": "USD",
  "referenceId": "O62455331",
  "vendor": "Travel Agency",
  "status": "Confirmed",
  "language": "EN",
  "quantity": 1,
  "channel": "WEB"
}

Here's an example payload for an order item data extension that describes additional information about a flight purchase:

RequestResponse
{
  "tripType": "OW",
  "origin": "DUB",
  "destination": "PAR",
  "operatingCarrier": "Carrier",
  "bookingClass": "1st"
}


Example 60. Mobile phone

Here's an example payload for an order item that describes a mobile phone:

RequestResponse
{
  "name": "NewGen Mobile",
  "description": "Next-generation mobile phone",
  "type": "Mobile",
  "productId": "M44124",
  "price": 105,
  "currencyCode": "EUR",
  "originalPrice": 110,
  "originalCurrencyCode": "USD",
  "referenceId": "M62455331",
  "vendor": "Electronic Supplier",
  "status": "Accepted",
  "language": "EN",
  "quantity": 1,
  "channel": "WEB"
}

Here's an example payload for an order item data extension that describes additional information about a mobile phone:

RequestResponse
{
  "model": "4455YU",
  "color": "Black",
  "capacity" : "1GB"
}


Do you have some feedback for us?

If you have suggestions for improving this article,

Privacy policySitecore Trust CenterCopyright © 1999-2026 Sitecore