DATE:
AUTHOR:
The Duffel team
API

We now return a clear error if you try to make a booking which looks like a duplicate

DATE:
AUTHOR: The Duffel team

Most airlines have checks on their side that prevent you from making duplicate bookings, with the same passenger(s) on the same flight(s).

Until now, we've returned a 500 Internal Server Error in this case. Now, we'll return a helpful error message with the code duplicate_booking, so you can handle this case gracefully.

Powered by LaunchNotes