Skip to main content

Destination Finder

Air
Search
REST API
Travel Agency
Try Now
  • In this version new functionality was introduced.

API Information

Format
JSON
Endpoint
/​v2​/shop​/flights​/fares
Current Version
2
Environment
Production

What's New

  • In this version new functionality was 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. There are no new parameters in the response to identify the trip type. This change is only at the request level, only included the "triptype" at the "self" and "linkTemplate" requests as per the below example. "Links": [ {​​ "rel": "self", "href": "https://api.sabre.com/v2/shop/flights/fares?origin=ORG&departuredate=2021-02-03&location=US&theme=BEACH&minfare=0&maxfare=1000&pricepermile=1.0&triptype=OneWay" }​​, {​​ "rel": "linkTemplate", "href": "https://api.sabre.com/v2/shop/flights/fares?origin=<origin>&departuredate=<departuredate>&returndate=<returndate>&location=<location>&theme=<theme>&minfare=<minfare>&maxfare=<maxfare>&lengthofstay=<lengthofstay>&earliestdeparturedate=<earliestdeparturedate>&latestdeparturedate=<latestdeparturedate>&pointofsalecountry=<pointofsalecountry>&region=<region>&topdestinations=<topdestinations>&pricepermile=<pricepermile>&triptype=<triptype>" }​​ ]