This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.
Returns a list of time slots at a specified reservation location on a specified date
, and their availability for a specified partySize
.
Without passing optional parameters, the list will contain a single time slot at the specified date
.
Use slotsBefore
and slotsAfter
to get additional time slots before and after the specified date
.
If you do not provide a duration
, the duration will be calculated automatically based on the reservation location's configuration.
The reservation location's settings used to determine the duration are its defaultTurnoverTime
and turnoverTimeRules
. These specify how much time should be allotted for a reservation of a party of a specified size.
The interval between startDate
s of time slots in the response is determined by the reservation location's timeSlotInterval
. This interval is not affected by the duration
provided.
ID of the reservation location for which to retrieve time slots.
Date and time for which to retrieve a time slot in ISO 8601 format.
Duration in minutes of the time slot.
Min: 5
Size of the party that needs to be seated during this time slot.
Min: 1
The number of time slots to retrieve before the specified date
.
The number of time slots to retrieve after the specified date
.
A list of time slots and their availability according to the specified party size.
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.