Order consumer REST API v2 (legacy)
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.
Attribute |
Type |
Description |
Example(s) |
---|---|---|---|
|
string (title case) |
The title of the order consumer. |
|
|
string (title case recommended) |
The first name of the order consumer. |
|
|
string (title case recommended) |
The last name of the order consumer. |
|
|
string (lowercase) |
The gender of the order consumer. |
|
|
ISO 8601 Date UTC |
The date of birth of the order consumer. |
|
|
array of strings (lowercase recommended) |
The email address of the order consumer. | |
|
A JSON array of strings. |
The phone number of the order consumer. |
N/A |
|
string (title case recommended) |
The nationality of the order consumer. |
|
|
2 letter ISO 3166-1 Alpha-2 country code (uppercase) |
The country where the order consumer is currently living. |
|
|
string |
The passport number for the order consumer. |
|
|
ISO 8601 Date UTC |
The expiry date for the order consumer's passport. |
|
|
A JSON array of JSON objects. |
The list of identifiers for the guest. |
N/A |
|
object |
The guest resource linked to this resource. |
N/A |
|
A JSON array of JSON objects |
A list of one or more order items that are associated with this order consumer. |
N/A |
|
string |
The reference ID for the order. |
|