AirShopping API

POST

/offers

The AIR Shopping API returns flight product prices for requested origin, destination and date. Provides the cheapest available offers for flights on given date.

General information

Promotions and special fares

Promotions

To get promotions via the API you have to add a promotion qualifier..

<Qualifier>
    <PromotionQualifiers>
        <Code>Promotion code</Code>
    </PromotionQualifiers>
</Qualifier>
Special fares

Corporate agreement codes can be provided by adding a special fare qualifier:

<Qualifier>
    <SpecialFareQualifiers>
        <AirlineID>DY</AirlineID>
        <Account>Your agreement code</Account>
    </SpecialFareQualifiers>
</Qualifier>

API flow

API flow

Examples

This section shows how the API can be used.

Search alternate dates from a preferred departure and return dates to find lower fare options.

One-way

Request one-way offers for OSL-JFK on 20 July 2017. Include 2 days before and 2 days after specified date.

1. Request: AirShoppingRQ
HTTP Request
[show]
2. Response: AirShoppingRS
HTTP Response
[show]
Round-trip

Request round-trip offers for OSL-JFK-OSL. Include 2 days before and 2 days after specified date date on both outbound and return flight.

1. Request: AirShoppingRQ
HTTP Request
[show]
2. Response: AirShoppingRS
HTTP Response
[show]

Request offers for requested travelers, origin, destination and date.

One-way

Request one-way offers OSL-JFK.

1. Request: AirShoppingRQ
HTTP Request
[show]
2. Response: AirShoppingRS
HTTP Response
[show]
Round-trip

Request round-trip offers for OSL-JFK-OSL

1. Request: AirShoppingRQ
HTTP Request
[show]
2. Response: AirShoppingRS
HTTP Response
[show]