Skip Navigation

City Pairs Lookup

Air
Utility
REST API
Travel Agency
Try Now
  • In this version new functionalities were introduced.

API Information

Format
JSON
Endpoint
/v1​/lists​/supported​/shop​/flights​/origins-destinations
Current Version
1
Environment
Production

What's New

  • In this version new functionalities were introduced.

Business Value

  • The extension of one-way itinerary types to this API enables greater personalization and efficiency to further refine the search, OTAs, Metas, and Leisure Travel Agencies can now benefit from this offering. The newly updated swagger documentation covering this feature 'one-ways' is now available for our customers.

New Features

In the Request

Optional

Parameter: triptype

Type: enum

Description: Identifies the specific type of itinerary

Sample Value:

triptype=OneWay
Note: The trip type by default is set to 'Return' value, i.e. Round-trip Itineraries. Only one value is accepted.

In the Response

Optional

Parameter: triptype=OneWay

Type: enum

Description: Defines the trip type for the shopped itinerary.

Sample Value:

{
    "OriginDestinationLocations": [
        {
            "OriginDestinationLocations": "LAX-MUC",
            "OriginLocation": {
                "AirportCode": "LAX",
                "AirportName": "Los Angeles International Airport",
                "CityName": "Los Angeles",
                "CountryCode": "US",
                "CountryName": "United States",
                "RegionName": "North America"
            },
            "DestinationLocation": {
                "AirportCode": "MUC",
                "AirportName": "Franz Josef Strauss",
                "CityName": "Munich",
                "CountryCode": "DE",
                "CountryName": "Germany",
                "RegionName": "Europe"
            },
            "TripType": "OneWay"
        }
    ],
    "Links": [
        {
            "rel": "self",
            "href": "https://api.sabre.com/v1/lists/supported/shop/flights/origins-destinations?originregion=north%20America&destinationregion=europe&origincountry=US&destinationcountry=DE&triptype=OneWay"
       },
       {
           "rel": "linkTemplate",
           "href": "https://api.sabre.com/v1/lists/supported/shop/flights/origins-destinations?destinationregion=<destinationregion>&originregion=<originregion>&destinationcountry=<destinationcountry>&origincountry=<origincountry>&pointofsalecountry=<pointofsalecountry>&triptype=<triptype>"
      }
   ]
}
Note: When the parameter with trip type is not specified in the request URL, then by default the response contains the "TripType": "Return".