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
| Method | Path | Auth |
|---|---|---|
GET | /v1/flights/offers/:gdsprovider/:offerId | Required API key |
| Header | Description |
|---|---|
Authorization | Bearer <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-Type | Use application/json for requests with a body. |
Request Params Schema
| Property | Type | Details | Required | Notes |
|---|---|---|---|---|
gdsprovider | number | Yes | - | |
offerId | string | Yes | - |
Success Response
Returns details of flights offer
Response Body Schema
| Property | Type | Details | Required | Notes |
|---|---|---|---|---|
offerData | object | Yes | - | |
offerId | string | Yes | - | |
offerLink | string | Nullable | - | |
gdsprovider | number | Yes | - | |
expiresAt | string | Format: ISO 8601 | Yes | - |
totalAmount | number | Yes | - | |
originalTotalAmount | number | Yes | - | |
holdOptions | object | Yes | - | |
holdOptionsavailable | boolean | Yes | - | |
holdOptionspaymentRequiredBy | string | Format: ISO 8601 | Nullable | - |
holdOptionspriceGuarantedUntil | string | Format: ISO 8601 | Nullable | - |
supportedPassengerIdDocuments | array | Yes | - | |
supportedPassengerIdDocuments[] | enum[] | Yes | - | |
passengerIdentityDocumentsRequired | boolean | Yes | - | |
supportedLoyaltyPrograms | array | Yes | - | |
supportedLoyaltyPrograms[] | string[] | Yes | - | |
airline | object | Yes | - | |
airlinename | string | Yes | - | |
airlineiataCode | string | Yes | - | |
airlinelogoURL | string | Nullable | - | |
airlineconditionsOfCarriage | string | No | - | |
passengers | array | Yes | - | |
id | string | Yes | - | |
type | enum | adult, child, infant_without_seat | Yes | - |
conditions | object | Yes | - | |
conditionsrefundBeforeDeparture | object | Yes | - | |
conditionsrefundBeforeDeparturecurrency | string | Yes | - | |
conditionsrefundBeforeDeparturepenaltyAmount | string | Yes | - | |
conditionsrefundBeforeDepartureallowed | boolean | Yes | - | |
conditionschangeBeforeDeparture | object | Yes | - | |
conditionschangeBeforeDeparturecurrency | string | Yes | - | |
conditionschangeBeforeDeparturepenaltyAmount | string | Yes | - | |
conditionschangeBeforeDepartureallowed | boolean | Yes | - | |
slices | array | Yes | - | |
fareName | string | Yes | - | |
departure | object | Yes | - | |
iataCode | string | Yes | - | |
cityName | string | Yes | - | |
airportName | string | No | - | |
departingAt | string | Format: ISO 8601 | Yes | - |
timeZone | string | No | - | |
arrival | object | Yes | - | |
iataCode | string | Yes | - | |
cityName | string | Yes | - | |
airportName | string | No | - | |
arrivingAt | string | Format: ISO 8601 | Yes | - |
timeZone | string | No | - | |
durationMinutes | number | Yes | - | |
conditions | object | Yes | - | |
priorityCheckIn | boolean | Yes | - | |
priorityBoarding | boolean | Yes | - | |
advanceSeatSelection | boolean | Yes | - | |
segments | array | Yes | - | |
fareName | string | Yes | - | |
departure | object | Yes | - | |
iataCode | string | Yes | - | |
cityName | string | Yes | - | |
airportName | string | No | - | |
departingAt | string | Format: ISO 8601 | Yes | - |
timeZone | string | No | - | |
terminal | string | No | - | |
arrival | object | Yes | - | |
iataCode | string | Yes | - | |
cityName | string | Yes | - | |
airportName | string | No | - | |
arrivingAt | string | Format: ISO 8601 | Yes | - |
timeZone | string | No | - | |
terminal | string | No | - | |
airline | object | Yes | - | |
operatingCarrier | object | Yes | - | |
operatingCarriername | string | Yes | - | |
operatingCarrieriataCode | string | Yes | - | |
operatingCarrierlogoURL | string | Nullable | - | |
operatingCarrierconditionsOfCarriage | string | No | - | |
marketingCarrier | object | Yes | - | |
marketingCarriername | string | Yes | - | |
marketingCarrieriataCode | string | Yes | - | |
marketingCarrierlogoURL | string | Nullable | - | |
marketingCarrierconditionsOfCarriage | string | No | - | |
flightNumber | string | Yes | - | |
durationMinutes | number | Yes | - | |
passengers | array | Yes | - | |
amenities | object | Yes | - | |
wifi | object | Yes | - | |
wificost | enum | free, free or paid, paid | Nullable | - |
wifiavailable | boolean | Yes | - | |
seat | object | Yes | - | |
seatpitch | enum | "number", n/a | Yes | - |
seatlegroom | enum | less, more, standard, n/a | Yes | - |
seattype | enum | standard, skycouch, recliner, angle_flat, full_flat, full_flat_pod, private_suite | Nullable | - |
power | boolean | Yes | - | |
baggages | array | Yes | - | |
type | enum | checked, carry_on | Yes | - |
quantity | number | Yes | - | |
maxKg | string | No | - | |
CO2EmissionsKg | number | Nullable | - | |
holdId | string | Nullable | - | |
originalCurrency | enum | EUR, USD, CNY | Yes | - |
currency | enum | EUR, USD, CNY | Yes | - |