Retrieves an order item.
Security
BasicAuth
- Production server APhttps://api-engage-ap.sitecorecloud.io/v2.1/orderItems/{orderItemRef}
- Production server EUhttps://api-engage-eu.sitecorecloud.io/v2.1/orderItems/{orderItemRef}
- Production server JPhttps://api-engage-jpe.sitecorecloud.io/v2.1/orderItems/{orderItemRef}
- Production server UShttps://api-engage-us.sitecorecloud.io/v2.1/orderItems/{orderItemRef}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
curl -i -X GET \
-u '<username>:<password>' \
'https://api-engage-ap.sitecorecloud.io/v2.1/orderItems/2d7de9df-45a2-45ea-872c-30e45139007d?expand=true'Resource successfully created
The order item reference. This is a unique identifier of the order item. Use the order item reference to interact with a specific order item, for example, to retrieve it, update it, or create a data extension for it.
Example:"2d7de9df-45a2-45ea-872c-30e45139007d"
The link to the order item.
Example:"https://api-engage-eu.sitecorecloud.io/v2.1/orderItems/2d7de9df-45a2-45ea-872c-30e45139007d"
The name of the order item. Free text value. Maximum character limit: 128
Example:"Mobile AZ10"
The date and time when the resource was created in Sitecore CDP.
Example:"2024-01-01T16:17:16Z"
The date and time when the resource was updated in Sitecore CDP.
Example:"2024-01-01T16:17:16Z"
The date and time when the order item was made.
Example:"2024-01-01T16:17:16Z"
The unit price of the order item before conversion to the organization's currency.
Example:110
Response
{ "ref": "2d7de9df-45a2-45ea-872c-30e45139007d", "href": "https://api-engage-eu.sitecorecloud.io/v2.1/orderItems/2d7de9df-45a2-45ea-872c-30e45139007d", "name": "Mobile AZ10", "description": "Mobile AZ10 description", "createdAt": "2024-01-01T16:17:16Z", "modifiedAt": "2024-01-01T16:17:16Z", "orderedAt": "2024-01-01T16:17:16Z", "type": "MOBILE", "productId": "1233-44", "price": 105, "currencyCode": "EUR", "originalPrice": 110, "originalCurrencyCode": "USD", "referenceId": "AAAAA-134", "vendor": "Vendor XYZ", "status": "CONFIRMED", "language": "EN", "quantity": 1, "channel": "WEB", "order": { "href": "https://api-engage-eu.sitecorecloud.io/v2.1/orders?guestRef=2d7de9df-45a2-45ea-872c-30e45139007d&offset=1&limit=10" } }