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.
You can now paginate through offers from a search instead of getting them all in one go
When you search for flights by creating an offer request, we return all of the offers in the response. This can mean a very large response in some cases, with thousands of offers. You can now choose to paginate through those offers, a few hundred at a time, instead of having one massive response.