Availability
Availability Calendar
This endpoint is highly optimised and will return a single object per day. It's designed to be queried for large date ranges and the result is used to populate an availability calendar.
When the end user selects an open date you can call on /availability endpoint to get the availabilityId to create the booking.
The product id.
6b903d44-dc24-4ca4-ae71-6bde6c4f4854The option id.
DEFAULTStart date to query for (YYYY-MM-DD).
2022-05-23End date to query for (YYYY-MM-DD).
2022-05-29OK
Example response
Availability Check
This endpoint is slightly slower as it will return an object for each individual departure time (or day). You have to perform this step to retrieve an availabilityId in order to confirm a sale, so if you just want to use this endpoint and skip the calendar endpoint then that's perfectly ok.
You must pass in one of the following combinations of parameters for this endpoint:
localDatelocaleDateStartandlocalDateEndavailabilityIds
The product id.
6b903d44-dc24-4ca4-ae71-6bde6c4f4854The option id.
DEFAULTStart date to query for (YYYY-MM-DD). Required if localDateEnd is set.
2022-05-23End date to query for (YYYY-MM-DD). Required if localDateStart is set.
2022-05-29Filter the results by the given ids.
["2022-05-23T00:00:00+01:00"]OK
Example response
Last updated