Duffel changelog
Duffel changelog
duffel.com

New webhook event added: order.created

We've added a new event that you can subscribe to with your webhooks. This event is triggered whenever an order is created (instant or pay later) in your organisation. It'll include data about the newly created order.

Changing Flights documentation now in preview

We've been working on a new feature which enables you to change the flights in an existing paid order.

It's not quite live yet, but you can see a preview of how it works in our API documentation. You'll need to:

  • create an Order Change Request to tell us which flights you wish to change and the search criteria for the new flights
  • create and confirm an Order Change once you've selected the new flights you want

We'd love to hear your feedback on this, so please do send us an email or tweet us your thoughts!

Webhooks documentation now in preview

We've been working on adding webhooks to our API to allow you to receive timely notifications when events occur - for example a flight in one of your orders being cancelled by the airline.

Preview documentation for this feature is now available in our API reference.

We'd love to hear your feedback on this new feature - just drop us an email or tweet us.

You can now link to properties in the API reference

We've added the ability to link to individual properties in our API reference.

To get the link, click the little icon next to the property name, much like you already do for the bigger sections:

Screenshot 2021-03-15 at 14.39.53.png

Or visit an example directly here.

You can now track your wallet balance and transactions from your dashboard

We've added a new "Wallet" page to the dashboard, where you can see your current balance and your transactions.

We've also added a new error type to the API, insufficient_balance, which is an error that you'll receive if you try to book a flight without sufficient balance.

We're currently rolling this out to all customers, so keep an eye out in the next few weeks!

You can now optionally provide passport information when creating an Iberia order πŸ›‚

You can now optionally provide passengers' passport information when you create an order with Iberia.

This will save your customers time when they're ready to check in, as they won't have to enter their passport details again.

You never need to hard-code this list of airlines into your integration - instead, just look at the allowed_passenger_identity_document_types attribute on the offer you are booking. That way, as we add passport support for more airlines, it'll start working immediately in your integration.

It looks like Iberia may require passport information for certain routes. Once we understand this better, we'll update this changelog and make sure we set the passenger_identity_documents_required attribute on relevant offers to true.

Iberia offers now include baggage information πŸ‡ͺπŸ‡ΈπŸ§³

When you search and get back an offer from Iberia πŸ‡ͺπŸ‡Έ, we'll now include information about the checked and carry-on bags included with the offer.

Offers and order amounts are now converted to your billing currency in the API πŸ’΄ ➑️ πŸ’·

The Duffel API now returns offers, orders and refund quotes in your billing currency.

Offers, orders and refund quotes used to be returned in a currency determined by the airline, and then converted to your billing currency later. With this change, the conversion happens before they are returned, so you will see the price that we will charge you upfront.

We do this conversion for offers, orders and refund quotes paid via Duffel. If you’re using Duffel as an accredited IATA agent and you’re paying the airline directly, the offer and subsequent booking and refund quote will continue to return the price in the original airline currency.

You can check your billing currency in dashboard's settings page. Please get in contact with us if you wish to change it.

You can now book extra bags with Aegean Airlines and Olympic Air πŸ‡¬πŸ‡·πŸ§³

You can now book extra paid bags when creating an order with Aegean Airlines and Olympic Air πŸ‡¬πŸ‡·

We launched this feature with British Airways and Vueling a couple of months ago, and we're excited to bring it to more airlines.

Want to update your integration to support buying extra bags? Check out the easy step-by-step guide here.

It's now possible to get complete, up-to-date information about an offer

Due to limitations in airlines' systems, the offers we return when you search for flights might have information out of date (like their total_amount) or might be missing pieces of information completely (like included baggage allowance).

We’ve changed the "Get a single offer" endpoint to go back to the airline to get the complete, up-to-date information about an offer. This means that the offer returned by this endpoint might be slightly different (for example, the total_amount might change), but the overall itinerary will always be the same.

This endpoint does not guarantee that the offer will be available at the provided price when you try to create an order. You may still occasionally receive an error saying that the offer is no longer available.