Skip to main content
Sitecore Documentation
  • Learn
  • Downloads
  • Changelog
  • Roadmap
CDPCloud Portal
Sitecore CDP Developer Documentation
  • Developing with Sitecore CDP
  1. Legacy REST APIs
  1. Sitecore CDP Developer Documentation
  2. REST APIs

Order contact REST API v2 (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.

An order contact is a person who is the primary contact for an order. The same guest can be both the order contact and order consumer.

The following table describes the order contact attributes:

AttributeTypeDescriptionExample(s)
titlestring (title case)The title of the order contact."Br", "Brigadier", "Capt", "Colonel", "Dame", "Dr", "Elder", "Fr", "General", "Hon", "Judge", "Lord", "Master", "Miss", "Mr", "Mrs", "Ms", "Mstr", "Prof", "Rabbi", "Rev", "Shaikha", "Sheikh", "Sir", "Sister", "Sr"
firstNamestring (title case recommended)The first name of the order contact."John"
lastNamestring (title case recommended)The last name of the order contact."Doe"
genderstring (lowercase)The gender of the order contact."male", "female", "unknown"
dateOfBirthISO 8601 Date UTCThe date of birth of the order contact."1985-12-24T00:00Z"
emailsarray of stringsThe email address of the order contact.["[email protected]", "[email protected]"]
nationalitystring (title case recommended)The nationality of the order contact."Irish", "British", "Spanish", "French"
country2 letter ISO 3166-1 Alpha-2 country code (uppercase)The country where the order contact is currently living."IE", "GB", "ES", "FR"
passportNumberstringThe passport number for the order contact."PZ4A9565"
passportExpiryISO 8601 Date UTCThe expiry date for the order contact's passport."2025-01-01T00:00
.000Z"
phoneNumbersA JSON array of strings.The phone number of the order contact.N/A
identifiersA JSON array of JSON objects.The list of identifiers for the contact.N/A
guestobjectThe guest resource linked to this resource.N/A
orderobjectThe order resource linked to this resource.N/A

The following are identifier model attributes:

AttributeDescriptionTypeExample(s)Required/optional
providerThe identifier provider.string"ProfileSystem"Required
idThe identifier ID.string"B7524AE6-CF1C-440F-B1A2-0C9D42F5CB41"Required
expiryDateThe expiry date of the identifier.ISO 8601 Date/Time UTC"2025-01-01T16:17
.000Z"
Optional

The following are the standard response attributes:

AttributeDescriptionTypeExample(s)
hrefThe resource fully qualified location Uniform Resource Identifier (URI).string"https://{apiEndpoint}/v2/{resourceName}/{resourceRef}"
refThe reference of the resource.string UUID"9d94ee11-7043-4b71-980c-a777d00a7b46"
createdAtDate and time when the resource was created in Sitecore CDP.ISO 8601 Date/Time UTC"2026-01-01T16:17
.000Z"
modifiedAtDate and time when the resource was updated in Sitecore CDP.ISO 8601 Date/Time UTC"2026-01-01T16:17
.000Z"
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