POST

Check Time Slot


Developer Preview

This API is subject to change. Bug fixes and new features will be released based on developer feedback throughout the preview period.

Checks a restaurant's availability to accommodate a reservation for a specified party size in a specified time slot.

This endpoint returns availability information for the restaurant's table combinations, and flags any party pacing or seat pacing conflicts that the proposed reservation would cause.

Authentication

You can only call this method when authenticated as a Wix app or Wix user identity.

Permissions
Manage Reservations (Full)
Manage Reservations (Medium)
Manage Restaurants - all permissions
Learn more about app permissions.
Endpoint
POST
https://www.wixapis.com/table-reservations/reservations/v1/check-time-slot

Body Params
reservationLocationIdstringRequiredformat GUID

ID of the reservation location for which to check the time slot.


datestringRequiredformat date-time

Date and time of the time slot to check.


durationintegerRequiredminimum 5maximum 1000format int32

Duration of the time slot in minutes .

Min: 5


partySizeintegerRequiredminimum 1maximum 10000format int32

Party size to check the restaurant's availability for.


excludeReservationIdstringformat GUID

ID of a reservation to ignore during the check.

Use this when rescheduling a reservation to exclude it in its current state from the availability calculations.

Response Object
tableCombinationAvailabilitiesArray <TableCombinationAvailability>

Table combinations and their availability information.


reservationLocationConflictsArray <string>

Reservation location conflicts that would occur by making a reservation for the specified party size in the specified time slot.

Errors

This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.

Did this help?