v1

latestSwagger 2.02026-07-1324294.1 KB
Shopping

Return list of Flight Offers based on searching criteria.

get/shopping/flight-offers

Query parameters

originLocationCodestring required

city/airport IATA code from which the traveler will depart, e.g. BOS for Boston

destinationLocationCodestring required

city/airport IATA code to which the traveler is going, e.g. PAR for Paris

departureDatestring date required

the date on which the traveler will depart from the origin to go to the destination. Dates are specified in the ISO 8601 YYYY-MM-DD format, e.g. 2017-12-25

returnDatestring date

the date on which the traveler will depart from the destination to return to the origin. If this parameter is not specified, only one-way itineraries are found. If this parameter is specified, only round-trip itineraries are found. Dates are specified in the ISO 8601 YYYY-MM-DD format, e.g. 2018-02-28

adultsinteger required

the number of adult travelers (age 12 or older on date of departure).

childreninteger

the number of child travelers (older than age 2 and younger than age 12 on date of departure) who will each have their own separate seat. If specified, this number should be greater than or equal to 0

infantsinteger

the number of infant travelers (whose age is less or equal to 2 on date of departure). Infants travel on the lap of an adult traveler, and thus the number of infants must not exceed the number of adults. If specified, this number should be greater than or equal to 0

travelClass'ECONOMY' | 'PREMIUM_ECONOMY' | 'BUSINESS' | 'FIRST'

most of the flight time should be spent in a cabin of this quality or higher. The accepted travel class is economy, premium economy, business or first class. If no travel class is specified, the search considers any travel class

includedAirlineCodesstring

This option ensures that the system will only consider these airlines. This can not be cumulated with parameter excludedAirlineCodes.

Airlines are specified as IATA airline codes and are comma-separated, e.g. 6X,7X,8X

excludedAirlineCodesstring

This option ensures that the system will ignore these airlines. This can not be cumulated with parameter includedAirlineCodes.

Airlines are specified as IATA airline codes and are comma-separated, e.g. 6X,7X,8X

nonStopboolean

if set to true, the search will find only flights going from the origin to the destination with no stop in between

currencyCodestring

the preferred currency for the flight offers. Currency is specified in the ISO 4217 format, e.g. EUR for Euro

maxPriceinteger

maximum price per traveler. By default, no limit is applied. If specified, the value should be a positive number with no decimals

maxinteger

maximum number of flight offers to return. If specified, the value should be greater than or equal to 1

Response

Successful Operation

All 2 operations