v1

latestOpenAPI 3.0.32026-07-14133451.7 KB
Shopping

Create a search request

A SearchResponse containing a requestId will be returned given a valid SearchRequest.

This requestId is required for polling for results later on.

post/shopping/searches

Request body

type'OW' | 'RT'

This is the trip type, where OW is for one-way trip and RT is for round trip.

adultAmountinteger required

This is the number of adult passengers

childAmountinteger

This is the number of child passengers

infantAmountinteger

This is the number of infant passengers

fareClass'Economy' | 'PremiumEconomy' | 'Business' | 'First'

This is the fare class, which is one of Economy, PremiumEconomy, Business and First.

Example request

{
  "queries": [
    {
      "depCity": "LON",
      "depAirport": "LON",
      "arrCity": "PAR",
      "arrAirport": "CGN",
      "date": "20210401"
    }
  ]
}

Response

OK

This is a SearchResponse containing a requestId that can be referred to in PollRequest.

messagestring

message returned by server side if there is any