Skip to main content

Revalidate Itinerary

4.3.0
Air
Search
REST API
Try now

What is it?

The Revalidate Itinerary API is an enhanced workflow option for selling air offers. Once an offer has been selected for purchase, this service can revalidate the availability and price without holding airline inventory.

Why use it?

  • A Positive Booking Experience
    Helps eliminate bad user experience with un-bookable options

  • Recheck the validity of an offer
    Validate the price and availability of a given offer

  • Stateless pricing
    Allows viewing the prices of an offer without a previously held session

How it works?

The revalidation process will consider prices, availability, additional fare options, and the class of the service.

How to use?

Paginate tagged elements for a given request ID with "limit" and "offset"

Paginate search results for a given request ID by specifying how many tagged elements to return per request in limit and specifying the starting position to begin retrieving tagged elements in offset. This allows you to more quickly retrieve and return search queries for mobile application requests. Rather than returning all tagged elements, you could return 10 tagged elements per request in limit (limit=10) and specify a starting position of 1 in offset (offset=1). Then you can select a starting position of 11 (offset=11) to retrieve the next 10 results (limit=10).

  1. The first request returns a Request ID for the tagged element data set and a Tag ID with each tagged element from the Revalidate Itinerary API.

POST https://api.sabre.com/v4.3.0/shop/flights/revalidate?enabletagging=true&limit=10&offset=1 HTTP/1.1

  1. The next request retrieves the cached tagged elements from 11 to 20 from the Pagination Request URL.

GET https://api.sabre.com/v4.3.0/shop/flights/revalidate/[REQUESTID]?limit=10&offset=11 HTTP/1.1

  1. The last request retrieves the cached tagged elements from 21 to 30 from the Pagination Request URL.

GET https://api.sabre.com/v4.3.0/shop/flights/revalidate/[REQUESTID]?limit=10&offset=21 HTTP/1.1

Retrieve a specific tagged element for a given tag ID from the Tag ID Lookup URL

  1. The first request returns a Request ID for the tagged element data set and a Tag ID with each tagged element from the Revalidate Itinerary API.

POST https://api.sabre.com/v4.3.0/shop/flights/revalidate?enabletagging=true HTTP/1.1

  1. The next request retrieves a tagged element from the Tag ID Lookup URL.

GET https://api.sabre.com/v4.3.0/shop/flights/revalidate/tags/[TAGID] HTTP/1.1