GET/v1/flights/booking/:gdsprovider/:orderId

Get flight booking

Reads the current status and normalized detail for a flight order created through Travelandz.

Reads the current status and normalized detail for a flight order created through Travelandz.

Endpoint

MethodPathAuth
GET/v1/flights/booking/:gdsprovider/:orderIdRequired API key
Required headers:
HeaderDescription
AuthorizationBearer <secret_key>. The secret is shown only once when the credential is created.
X-Travelandz-Id<public_key>:<profile_code>. The profile_code is the dp_-prefixed Developer Profile code shown in your dashboard. This binds the request to a profile and credential.
Content-TypeUse application/json for requests with a body.

Request Params Schema

PropertyTypeDetailsRequiredNotes
gdsprovidernumberYes-
orderIdstringYes-

Success Response

Returns details of the order

Response Body Schema

PropertyTypeDetailsRequiredNotes
orderDetailsobjectYes-
orderIdstringYes-
gdsprovidernumberYes-
bookingReferencestringYes-
conditionsobjectYes-
conditions
refundBeforeDeparture
objectYes-
conditions
refundBeforeDeparture
currency
stringYes-
conditions
refundBeforeDeparture
penaltyAmount
stringYes-
conditions
refundBeforeDeparture
allowed
booleanYes-
conditions
changeBeforeDeparture
objectYes-
conditions
changeBeforeDeparture
currency
stringYes-
conditions
changeBeforeDeparture
penaltyAmount
stringYes-
conditions
changeBeforeDeparture
allowed
booleanYes-
syncedAtstringFormat: ISO 8601Yes-
slicesarrayYes-
fareNamestringYes-
departureobjectYes-
iataCodestringYes-
cityNamestringYes-
airportNamestringNo-
departingAtstringNo-
timeZonestringNo-
arrivalobjectYes-
iataCodestringYes-
cityNamestringYes-
airportNamestringNo-
departingAtstringNo-
timeZonestringNo-
segmentsarrayYes-
fareNamestringYes-
departureobjectYes-
iataCodestringYes-
cityNamestringYes-
airportNamestringNo-
departingAtstringNo-
timeZonestringNo-
terminalstringNo-
arrivalobjectYes-
iataCodestringYes-
cityNamestringYes-
airportNamestringNo-
departingAtstringNo-
timeZonestringNo-
terminalstringNo-
airlineobjectYes-
operatingCarrierobjectYes-
operatingCarrier
name
stringYes-
operatingCarrier
iataCode
stringYes-
operatingCarrier
logoURL
stringNullable-
operatingCarrier
conditionsOfCarriage
stringNo-
marketingCarrierobjectYes-
marketingCarrier
name
stringYes-
marketingCarrier
iataCode
stringYes-
marketingCarrier
logoURL
stringNullable-
marketingCarrier
conditionsOfCarriage
stringNo-
flightNumberstringYes-
durationMinutesnumberYes-
passengersarrayYes-
typeenumadult, child, infant_without_seatYes-
titleenummr, ms, mrs, missYes-
phoneNumberstringYes-
infantPassengerIdstringNo-
idstringYes-
firstNamestringYes-
genderenumm, fYes-
lastNamestringYes-
emailstringYes-
bornOnstringYes-
ticketsarrayYes-
ticketNumberstringYes-
statusenumbooking-in-progress, ticket-in-progress, ticketedNullable-
typeenumElectronic, Electronic Miscellaneous Document – Associated, Electronic Miscellaneous Document – StandaloneYesET, EMD-A, EMD-S
documentsarrayYes-
passengerIdsarrayYes-
passengerIds[]string[]Yes-
typeenumelectronic_ticket, electronic_miscellaneous_document_associated, electronic_miscellaneous_document_standaloneYes-
idstringYes-
bookingReferencesarrayYes-
referencestringYes-
airlineobjectYes-
operatingCarrierobjectYes-
operatingCarrier
name
stringYes-
operatingCarrier
iataCode
stringYes-
operatingCarrier
logoURL
stringNullable-
operatingCarrier
conditionsOfCarriage
stringNo-
marketingCarrierobjectYes-
marketingCarrier
name
stringYes-
marketingCarrier
iataCode
stringYes-
marketingCarrier
logoURL
stringNullable-
marketingCarrier
conditionsOfCarriage
stringNo-
totalAmountnumberYes-
offerIdstringNo-