Minimal booking flow
For a minimal, working booking flow, you need to:
- Search for a package to get an initial quote id
- Supply the required details to create the quote
- Commit the quote to convert it into a new booking
If an uncommitted quote is no longer of interest, then it can be manually deleted.
Searching for a package
To start the booking flow, you need to perform a search for the desired package through the Search Package endpoint using a package code obtained from the flat files.
Creating a quote
To create a quote based on the package search results, you need to supply the departure and cabin selection along with passengers details through the Create Quote endpoint.
Fetching a valid quote
You can fetch currently valid quotes through the Get Quote endpoint to check their contents.
Deleting a quote
You can delete valid, uncommitted quotes through the Delete Quote endpoint.
Commiting a quote
To convert a quote into a new booking, you need to commit the quote by supplying the payment type for the booking through the Commit Quote endpoint.
Fetching a booking
You can fetch bookings through the Get Booking endpoint. At the moment, there is a limited amount of booking info that is available through the API.