Partially updates a data extension for an order, replacing only those key-value pairs in the resource that you provide in the request.
Security
BasicAuth
A key-value pair of your choice. Supported data types for the values: string, boolean, integer, floating-point number. Example: "firstTimeOrder": true
Example:"{exampleValue1}"
- Production server APhttps://api-engage-ap.sitecorecloud.io/v2.1/orderItems/{orderItemRef}/extensions/{dataExtensionName}
- Production server EUhttps://api-engage-eu.sitecorecloud.io/v2.1/orderItems/{orderItemRef}/extensions/{dataExtensionName}
- Production server JPhttps://api-engage-jpe.sitecorecloud.io/v2.1/orderItems/{orderItemRef}/extensions/{dataExtensionName}
- Production server UShttps://api-engage-us.sitecorecloud.io/v2.1/orderItems/{orderItemRef}/extensions/{dataExtensionName}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
-u '<username>:<password>' \
https://api-engage-ap.sitecorecloud.io/v2.1/orderItems/2d7de9df-45a2-45ea-872c-30e45139007d/extensions/ext \
-H 'Content-Type: application/json' \
-d '{
"{exampleKey1}": "{exampleValue1}",
"{exampleKey2}": "{exampleValue2}"
}'Successful operation
The URL of the order item extension.
Example:"https://api-engage-eu.sitecorecloud.io/v2.1/orderItems/f7aabbca-1c1b-4fc2-be72-3e16294a4f03/extensions/ext"
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 last updated in Sitecore CDP.
Example:"2024-01-01T16:17:16Z"
A key-value pair in the data extension. Example: "withWarranty": true
Example:"{exampleValue1}"
A key-value pair in the data extension. Example: "color": "obsidian"
Example:"{exampleValue2}"
Response
{ "name": "ext", "href": "https://api-engage-eu.sitecorecloud.io/v2.1/orderItems/f7aabbca-1c1b-4fc2-be72-3e16294a4f03/extensions/ext", "ref": "6a5cb3c2-1a4a-56d8-8a01-1ede232b9db2", "key": "default", "createdAt": "2024-01-01T16:17:16Z", "modifiedAt": "2024-01-01T16:17:16Z", "{exampleKey1}": "{exampleValue1}", "{exampleKey2}": "{exampleValue2}", "orderItem": { "href": "https://api-engage-eu.sitecorecloud.io/v2.1/orderItems/111d106a-feff-42b2-90fb-a6ed136ec333" } }