Skip to main content

Traveller

A passenger. Only the lead passenger's details are sent to the provider.

titlestring | nullnullable

Mr, Ms, Mrs, ...

Example: Ms
first_namestringrequired

Given name.

Example: Jane
last_namestringrequired

Family name.

Example: Doe
is_leadboolean

Lead passenger. Default: the first traveller.

Default value: false
Example: true
emailstring | nullnullable

Lead passenger email. Strongly recommended; some providers require it.

phonestring | nullnullable

Lead passenger mobile, E.164 with +. Strongly recommended; some providers require it.

Example: +442079460000
phone_country_codestring | nullnullable

ISO 3166-1 alpha-2 country of the phone number (for example GB), not the dial code.

Example: GB
nationalitystring | nullnullable

ISO 3166-1 alpha-2.

Example: GB
extra 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,
"email": "[email protected]",
"phone": "+442079460000",
"phone_country_code": "GB",
"nationality": "GB",
"extra": {}
}