Skip to main content
Sitecore Documentation
  • Learn
  • Downloads
  • Changelog
  • Roadmap
CDPCloud Portal
Sitecore CDP Developer Documentation
  • Developing with Sitecore CDP
    • Base URL
    • Response codes
    • REST API Guest v2.1
    • REST API Guest data extension v2.1
    • REST API Order v2.1
    • REST API Order contact v2.1
    • REST API Order consumer v2.1
    • REST API Order data extension v2.1
    • REST API Order item data extension v2.1
    • REST API Audience export
            • Create an order contact (legacy)
            • Retrieve order contact references (legacy)
            • Retrieve an order contact (legacy)
            • Update an order contact (legacy)
            • Delete an order contact (legacy)
  1. Order contact REST API v2 (legacy)
  1. REST APIs
  2. Legacy REST APIs
  3. Order contact REST API v2 (legacy)
  4. Delete an order contact (legacy)

Delete an order contact (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/orderContacts/<orderContactRef>

Removes a guest from an order. An empty, 204 No Content response means that the deletion was successful.

Attribute

Type

Description

Example

orderContactRef

string

The reference of the contact on the order.

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

f8d1f0d5-365d-46b7-becf-d041e93a5705

curl -X DELETE '<baseURL>/v2/orderContacts/f8d1f0d5-365d-46b7-becf-d041e93a5705' \
-u '<username>:<password>' \
-H 'Accept: application/json'
If you have suggestions for improving this article, let us know!

Documentation Assistant

This assistant uses AI to generate responses based on Sitecore documentation. While it has access to official sources, answers may be incomplete or inaccurate and should not be considered official advice or support.
Powered by
k
kapa.ai
Protected by reCAPTCHA

© Copyright 2026, Sitecore A/S or a Sitecore affiliated company.
All rights reserved.

Privacy policySitecore Trust CenterTerms of use