release_note
v2 | March 31, 2021
API Information
Response Format
JSON
Method/Endpoint
/v2/shop/flights/fares
Current Version
2
Target Audience
Both TN and AS
Environment
Production
What's New
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=OneWayNote: 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>®ion=<region>&topdestinations=<topdestinations>&pricepermile=<pricepermile>&triptype=<triptype>" } ]
Relase note ID: 15533