Traveller
A passenger. Only the lead passenger's details are sent to the provider.
titlestring | nullnullable
Mr, Ms, Mrs, ...
Example:
Msfirst_namestringrequired
Given name.
Example:
Janelast_namestringrequired
Family name.
Example:
Doeis_leadboolean
Lead passenger. Default: the first traveller.
Default value:
falseExample:
trueemailstring | nullnullable
Lead passenger email. Strongly recommended; some providers require it.
Example:
[email protected]phonestring | nullnullable
Lead passenger mobile, E.164 with +. Strongly recommended; some providers require it.
Example:
+442079460000phone_country_codestring | nullnullable
ISO 3166-1 alpha-2 country of the phone number (for example GB), not the dial code.
Example:
GBnationalitystring | nullnullable
ISO 3166-1 alpha-2.
Example:
GBextra object
Free-form. Not forwarded to providers.
property name*any
Free-form. Not forwarded to providers.
Example:
{}property name*any
A passenger. Only the lead passenger's details are sent to the provider.
Traveller
{
"title": "Ms",
"first_name": "Jane",
"last_name": "Doe",
"is_lead": true,
"phone": "+442079460000",
"phone_country_code": "GB",
"nationality": "GB",
"extra": {}
}