Availability
The first step when making a sale is to check for availability. Note if allowFreesale
is set to true on the product then this step is optional but it is advised you check it anyway if you can to check for closures.
OCTO has two main availability calls:
Availability Calendar endpoint is designed to be highly optimized and returns 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.
Availability Check endpoint may be slightly slower as it will return an object for each individual departure time (or day).
Availability Calendar
Availability Check
A reseller has to perform Availability Check to retrieve an availabilityId
in order to make a Booking Reservation, so this endpoint is critical for the booking flow.
Last updated