Change `iata_code` type to `string` in Aircraft schema
In our Aircraft schema, we had our iata_code type set as an integer. The correct type should be string.
Segments on offers and orders in the API are now more consistent
We're making segments on offers and orders in the API more consistent.
Slices and segments now have `id`s
Slices and segments didn't use to have ids, but now they do. These ids uniquely identify the slices/segments inside the parent offer or order.
We now return `documents` (for example e-tickets) with orders 📝
We now return these documents in the API with a type and a unique_identifier.
You can now provide passport information when creating an order with seven more airlines 🛂
When creating an order, you can now optionally provide passengers' passport information for the following airlines: Previously, this feature was only supported...
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.