You can now query the "List Airports" API by country code
You can now filter the "List airports" API by 'iata_country_code', supplying an ISO 3166-1 alpha-2 country code.
We now support `arc_bsp_cash` payments for IATA agents
If you're using Duffel as an accredited IATA travel agent, you can now pay using ARC/BSP cash when creating an order - just set the payment type to arc_bsp_cash.
We now return Fare Brand information for each offer slice in flight search
We have introduced a new fare_brand_name attribute on slices inside an offer which shows this information.
Creating bookings with American Airlines in test mode is now more reliable
The American Airlines sandbox, although super helpful, sometimes returns errors when trying to make a booking because the flight you found in the search doesn't actually exist. We now handle this case, returning a helpful error instead of a 500 Internal Server Error.
We'll now return a helpful error if you try to book using an expired offer
We'll now return a helpful error with the code offer_no_longer_available if you try to create an order using a offer that has expired.
We now sort offers' and orders' slices and segments chronologically
We'll now always sort slices and segments inside offers and orders chronologically. That means that you don't have to worry about doing this yourself, and can display data in the order we returned it.
We've added extra information to airports in the API 🛫
We've added more information to our airports in our API, including the latitude, longitude, icao_code, city_name and time_zone, as well as improved names for Airports
When you request a specific cabin class, we now do a better job of making sure you only get matching offers
Some airlines don't necessarily listen to when you specify a cabin_class that the passenger wants to fly in and may return offers that don't match. We'll now handle this on our side, filtering out offers that don't match your original search.
You no longer need to provide passengers' `type`s when creating an order
You no longer need to provide the type of passengers when creating an order. We'll fill this information in automatically based on the offer you selected.
You should now give the age of passengers under 18 when creating an offer request
When searching for flights for a passenger who is under 18, you should now specify their age instead of a type. For passengers over 18, you can continue using "age": "adult" as before.