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 consumer 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 consumer represents a person who is consuming an order item. If the order item is a flight, the order consumer is the traveler or passenger of the flight segment. If more than one order consumer is consuming the same order item, it then has a quantity representing the number of order consumers.

AttributeTypeDescriptionExample(s)
titlestring (title case)The title of the order consumer."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 consumer."John"
lastNamestring (title case recommended)The last name of the order consumer."Doe"
genderstring (lowercase)The gender of the order consumer."male", "female", "unknown"
dateOfBirthISO 8601 Date UTCThe date of birth of the order consumer."1985-12-24T00:00Z"
emailsarray of strings (lowercase recommended)The email address of the order consumer.["[email protected]", "[email protected]"]
phoneNumbersA JSON array of strings.The phone number of the order consumer.N/A
nationalitystring (title case recommended)The nationality of the order consumer."Irish", "British", "Spanish", "French"
country2 letter ISO 3166-1 Alpha-2 country code (uppercase)The country where the order consumer is currently living."IE", "GB", "ES", "FR"
passportNumberstringThe passport number for the order consumer."PZ4A9565"
passportExpiryISO 8601 Date UTCThe expiry date for the order consumer's passport."2025-01-01T00:00
.000Z"
identifiersA JSON array of JSON objects.The list of identifiers for the guest.N/A
guestobjectThe guest resource linked to this resource.N/A
orderItemsA JSON array of JSON objectsA list of one or more order items that are associated with this order consumer.N/A
orderstringThe reference ID for the order."B94TXY-1"
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