v1 | August 11, 2016
- enabletagging: returns a TagID for each itinerary in the response and stores in the Sabre cache. The tag ID can be used to retrieve an itinerary via the new InstaFlights Search - Tag ID Lookup URL
- view: use a Sabre default response view or create a custom response view. To create a custom response view, define the response paths to include or exclude using the Custom Response View API, then pass the view as a filter in the request URI, e.g., view=NOWARNINGS to format the response. See the Response View Lookup API for a list of Sabre response views.
- returndate: the return date is now optional. Omit the return date to retrieve a one-way flight.
API Information
Format
JSON
Endpoint
/POST /v1/shop/flights
Current Version
1
Environment
Production
What's New
- enabletagging: returns a TagID for each itinerary in the response and stores in the Sabre cache. The tag ID can be used to retrieve an itinerary via the new InstaFlights Search - Tag ID Lookup URL
- view: use a Sabre default response view or create a custom response view. To create a custom response view, define the response paths to include or exclude using the Custom Response View API, then pass the view as a filter in the request URI, e.g., view=NOWARNINGS to format the response. See the Response View Lookup API for a list of Sabre response views.
- returndate: the return date is now optional. Omit the return date to retrieve a one-way flight.
New Features
In the Request
Optional
- Parameter: enabletagging
-
Type: boolean
Description: Returns a RequestID for the itinerary data set and stores in the Sabre cache. The tag ID can be used to retrieve an itinerary from the Tag ID Lookup URL at: GET /v1/shop/flights/tags/{tagid}.
Sample Value:
N/ANote: enabletagging=true – returns and stores itineraries for subsequent calls to the Sabre cache
In the Request
Optional
- Parameter: view
-
Type: string
Description: The response view definition
Sample Value:
view=IF_ITIN_TOTAL_PRICENote: You can either use a Sabre default response view or create a custom response view using the Custom Response View API.
In the Request
Optional
- Parameter: returndate
-
Type: string
Description: Date of returning flight in the time zone of the destination airport
Sample Value:
returndate=2016-08-16Note: Previously, the return date was required.
In the Response
N/A
- Parameter: TagID
-
Type: string
Description: The tag ID for the respective itinerary
Sample Value:
N/ANote: A tag ID is returned when enabletagging=true is used in a previous InstaFlights API request. The tag ID can be used to retrieve an itinerary from the Tag ID Lookup URL. See documentation for details on tag ID expiration values.
In the Response
N/A
- Parameter: tagLookupLinkTemplate
-
Type: string
Description: Formats an API request with placeholders to retrieve the itinerary associated with a given tag ID
Sample Value:
N/A