---
title: "Examples of order items"
slug: "examples-of-order-items-rest-api-v2-1"
abstract: "Code examples for order items and order item extensions in REST APIs version 2.1 of the Sitecore CDP Order item and Order item data extension."
---
# 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:

```json
{
  "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:

```csharp
{
  "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:

```json
{
  "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:

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

```