Availabilities

Availability objects are used to convey an operator's ability to provide a service at a given time.

Reference can be found here

AvailabilityItem

An AvailabilityItem represents a point or period of time (depending on the parent Product's availabilityType) when the parent Product Option is available for booking.

When placing a booking, the AvailabilityItem ID is used as a reference to the desired reservation time. For this reason, it is important for Operator Booking Systems to have methods in place to resolve these IDs for future reference.

Field NameTypeRequiredDescription
idstringYesUnique identifier for this Availability within the Product Option
optionIdstringYesID of the Option this availability is under, unique within the Product.
localDateTimeStartstring(RFC3339)YesThe start time (inclusive) of the availability
localDateTimeEndstring(RFC3339)YesThe end time (inclusive) of the availability
statusstring(AvailabilityStatus)YesIndicates whether the availability is bookable, and provides additional context
vacanciesintegerNoNumber of units available for this option at this time. Additional information on Vacancies can be found below

Examples

Daily Freesale
Hourly Fixed
Copy

Note on DateTimes

localDateTimeStart and localDateTimeEnd must be provided as fully-qualified RFC3339 timestamps, including a UTC offset (or a suffix of Z for an offset of -00:00).

The offset provided MUST match the local timezone of the product option.

AvailabilityStatus

NameDescription
FREESALEAlways available
AVAILABLECurrently available for sale, but has a fixed capacity
LIMITEDCurrently available for sale, but has a fixed capacity and may be sold out soon
SOLD_OUTCurrently sold out, but additional availability may free up
CLOSEDCurrently not available for sale, but not sold out (e.g. temporarily on stop-sell) and may be available for sale soon

Note on Vacancies

There are some additional rules and validations on how vacancies should be counted in availabilities.

  • If the availability has a status of FREESALE, vacancies should be omitted from the response - the FREESALE status implies an unlimited number of vacancies.
  • Vacancies should be considered the total capacity of the product. The number of vacancies returned will be considered available for all unit types returned.
  • It is recommended that vacancies be drawn from a general pool of vacancies shared among all Unit types within a Product Option.
  • Vacancies are only available at the Option level, if you need to set availability/vacancies at a traveler type level then an option should be created for each traveler type and the vacancy set there.
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard