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
  • Legacy REST APIs
  • Order item REST API v2 (legacy)
  • Delete an order item (legacy)

Delete an order item (legacy)

Important

A newer version of this REST API (v2.1) is available. If you're new to this REST API, use the new version. Alternatively, if you're already using the old version, read about the differences between v2 and v2.1 so you can upgrade.

DELETE /v2/orderItems/<orderItemRef>

Deletes an order item. An empty, 204 No Content response means that the deletion was successful.

Attribute

Type

Description

Example

orderItemRef

string

The reference of the order item.

If you do not know the order item reference, first retrieve order item references for an order.

d680c9be-4c07-4731-857e-9602034b15f2

RequestResponse
curl -X DELETE '<baseURL>/v2/orderItems/d680c9be-4c07-4731-857e-9602034b15f2' \
-u '<username>:<password>' \
-H 'Accept: application/json'

Do you have some feedback for us?

If you have suggestions for improving this article,

Privacy policySitecore Trust CenterCopyright © 1999-2026 Sitecore