Book

Books a departure: blocks the seats and creates a provisional booking. TravClan later confirms the booking and assigns a final booking code.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Package ID, the same code used for Detail.

Body Params

Send every field. Use [] when nothing was chosen. Traveller documents and details are not sent here; send them to your ACM with the same buyer_booking_reference.

string
required

data.departures[].code of the selected departure.

string
required

Mandatory. Your own unique reference for this booking, normally your payment reference. TravClan uses it to match the booking when sending the final booking code.

occupancy
array of objects
required

One item per room.

occupancy*
hotels
array of strings
required

data.hotels[].code of every included hotel stay.

hotels*
hotel_upgrades
array of objects
required

One item per chosen hotel upgrade. [] if none.

hotel_upgrades*
sightseeings
array of strings
required

data.sightseeings[].sightseeing.code of the included activities.

sightseeings*
sightseeing_addon_codes
array of strings
required

data.addons[].code of each optional activity chosen. [] if none.

sightseeing_addon_codes*
transfers
array of strings
required

data.transfers[].transfer.code of the included transfers.

transfers*
transfer_addon_codes
array of strings
required

data.transfers[].addons[].code of each transfer add-on chosen. [] if none.

transfer_addon_codes*
flights
array of strings
required

data.flights[].code of the included flights.

flights*
flight_origin_addon_codes
array of strings
required

data.flights[].outbound.origin_addons[].code of the start city chosen. [] if none.

flight_origin_addon_codes*
number
required

The total you calculate room by room with the pricing rules, including upgrades and add-ons. Must match the current price.

string
required

data.departures[].currency of the selected departure.

Responses

500

Unexpected error.

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json