GET/v1/flights/offers/:gdsprovider/:offerId

Get flight offer detail

Retrieves the latest details for a selected flight offer before booking, including price, conditions, segments and passenger requirements when available.

Retrieves the latest details for a selected flight offer before booking, including price, conditions, segments and passenger requirements when available.

Endpoint

MethodPathAuth
GET/v1/flights/offers/:gdsprovider/:offerIdRequired 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-
offerIdstringYes-

Success Response

Returns details of flights offer

Response Body Schema

PropertyTypeDetailsRequiredNotes
offerDataobjectYes-
offerIdstringYes-
offerLinkstringNullable-
gdsprovidernumberYes-
expiresAtstringFormat: ISO 8601Yes-
totalAmountnumberYes-
originalTotalAmountnumberYes-
holdOptionsobjectYes-
holdOptions
available
booleanYes-
holdOptions
paymentRequiredBy
stringFormat: ISO 8601Nullable-
holdOptions
priceGuarantedUntil
stringFormat: ISO 8601Nullable-
supportedPassengerIdDocumentsarrayYes-
supportedPassengerIdDocuments[]enum[]Yes-
passengerIdentityDocumentsRequiredbooleanYes-
supportedLoyaltyProgramsarrayYes-
supportedLoyaltyPrograms[]string[]Yes-
airlineobjectYes-
airline
name
stringYes-
airline
iataCode
stringYes-
airline
logoURL
stringNullable-
airline
conditionsOfCarriage
stringNo-
passengersarrayYes-
idstringYes-
typeenumadult, child, infant_without_seatYes-
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-
slicesarrayYes-
fareNamestringYes-
departureobjectYes-
iataCodestringYes-
cityNamestringYes-
airportNamestringNo-
departingAtstringFormat: ISO 8601Yes-
timeZonestringNo-
arrivalobjectYes-
iataCodestringYes-
cityNamestringYes-
airportNamestringNo-
arrivingAtstringFormat: ISO 8601Yes-
timeZonestringNo-
durationMinutesnumberYes-
conditionsobjectYes-
priorityCheckInbooleanYes-
priorityBoardingbooleanYes-
advanceSeatSelectionbooleanYes-
segmentsarrayYes-
fareNamestringYes-
departureobjectYes-
iataCodestringYes-
cityNamestringYes-
airportNamestringNo-
departingAtstringFormat: ISO 8601Yes-
timeZonestringNo-
terminalstringNo-
arrivalobjectYes-
iataCodestringYes-
cityNamestringYes-
airportNamestringNo-
arrivingAtstringFormat: ISO 8601Yes-
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-
amenitiesobjectYes-
wifiobjectYes-
wifi
cost
enumfree, free or paid, paidNullable-
wifi
available
booleanYes-
seatobjectYes-
seat
pitch
enum"number", n/aYes-
seat
legroom
enumless, more, standard, n/aYes-
seat
type
enumstandard, skycouch, recliner, angle_flat, full_flat, full_flat_pod, private_suiteNullable-
powerbooleanYes-
baggagesarrayYes-
typeenumchecked, carry_onYes-
quantitynumberYes-
maxKgstringNo-
CO2EmissionsKgnumberNullable-
holdIdstringNullable-
originalCurrencyenumEUR, USD, CNYYes-
currencyenumEUR, USD, CNYYes-