/reservations

Create Reservation

POST https://api.basset.ws/reservations

Query Parameters

Name
Type
Description

site

string

ISO 3166-2 country code

channel

string

Sales channel: WEB or DESKTOP

Headers

Name
Type
Description

Authorization

string

Bearer token

Request Body

Name
Type
Description

contact

object

Struct that contains pax contact information

contact.language

string

Language that pax speaks in ISO 639-1 format

contact.email

string

Pax personal email

contact.telephone

object

Struct that contains pax telephone

contact.telephone.typo

string

Valid values are M or H

contact.telephone.country_code

string

International calling code for country

contact.telephone.area_code

string

Calling area code for country

contact.telephone.number

string

Pax telephone number

fiscal_identification

object

Struct that contains pax fiscal information

fiscal_identification.type

string

Free text to identify the pax fiscal identification type

fiscal_identification.number

string

Free text to identify the pax fiscal identification number

products

string

List of products to book

products.item_id

string

Product ID to book

products.type

string

Product type: FLIGHT

products.passengers

object

Struct that contains all pax information

products.passengers.birth

string

Pax birth date in format dd/MM/yy

products.passengers.gender

string

Pax gender type: M or F

products.passengers.lastname

string

Pax family name

products.passengers.firstname

string

Pax name

products.passengers.type

string

Pax type: ADT, CHD, INF, SCR

products.passengers.document

object

Struct that contains pax document information

products.passengers.document.type

string

Document type: PASSPORT or DNI

products.passengers.document.number

string

Document number

products.passengers.nationality

string

Pax nationality in ISO 3166-1 alpha-3 format

Example

Body Example

Last updated