Skip to main content

Functional Details

The supplement live shopping with cache functionality within the Bargain Finder Max Alternate Date API allows you to specify which dates should be processed through the live system or cache. As a result, combined options processed via cache and the live system will be returned.

Two modes are offered for Alternate Date:

  • Hybrid mode − to pull all requested content (date ranges) from cache and then to call the live system for the cheapest options found in cache.
  • Supplement mode − to pull separate (specified on the request or rule level) date ranges from the live system and cache and merge them in the final response.

BargainFinderMax_ADRQ contains elements that allow you to specify:

  • Date Flexibility Range – Alternate dates.
    • Number of alternate dates before (minus) a requested travel date.
    • Alternate dates after (plus) a requested travel date.
    • Validate – determines the date range that should be processed by live versus cache.
  • Budget Relative Price Threshold – You can define the threshold to determine whether the options from cache should be returned in the final response.
    • Options from cache for which the price difference exceeds the defined threshold will not be included in the response.
    • The threshold can be set as a negative or positive value or a percentage of the price of the main itinerary, for example: 35%, 200, -40%, or -600.
    • If not specified in the rule or in the request, this functionality is disabled, and all cache results (not limited by threshold) will be returned together with live results.

    Bargain Finder Max Alternate AirportAirport API allows you to specify which options airport should be processed through live or cache. As a result, combined options returned by cache and live system will be returned.

    Two modes are offered for Alternate Airport:

    • Supplement Shopping − to complete live shopping results with results from cache to return solutions not explicitly requested but are relevant. The main purpose is to pull separate markets specified in the request from the live system and cache and merge them in the final response.
    • Hybrid Shopping − to mix cache and live results to return solutions that reduce demand for live shopping. The main purpose is to pull all requested content from cache, and then to call the live system for the cheapest options found in cache.

    BargainFinderMax_ASRQ allows you to specify:

    • Alternate airport combination of origins and destinations.
    • Budget relative price threshold