Booking

Book a flight

POST /flight/book

Use this API to book a flight.

Headers

Name
Value

Content-Type

application/json

VOLZ-API-KEY

<api_key>

VOLZ-API-SECRET

<api_secret>

Body

Name
Type
Description

flight_key*

string

The flight key

contact*

object

Client contact information

contact.email*

string

Client email

contact.phone_number*

string

Client phone number

contact.city_id*

int

Client city id

contact.municipality*

string

Client municipality

travelers*

array

Travelers list Must be the same size as selected travelers

travelers.*.date_of_birth*

date

Traveler date of birth

travelers.*.first_name*

string

Traveler first name

travelers.*.last_name*

string

Traveler last name

travelers.*.middle_name

string

Traveler middle name

travelers.*.type*

string

Possible values: ADULT,CHILD,HELD_INFANT

travelers.*.gender*

string

Possible values: MALE,FEMALE

travelers.*.document*

object

Traveler documents

travelers.*.document.document_type*

string

Possible values: PASSPORT, IDENTITY_CARD

travelers.*.document.number*

string

Document number

travelers.*.document.expiry_date*

date

Document expiry date

travelers.*.document.nationality*

string

Nationality in ISO 3166-1 alpha-2 format

Response

Last updated