Decode reason why time is not available
When API returns array of time or empty array, it also returns ReservationRuleId. By looking what it means below, you can troubleshoot what is wrong with your settings.
ReservationRuleId | Description |
|---|---|
0 | None |
1 | ReservationQuantityCheck - limit total number of reservation per specified time frame |
2 | ReservationMaxGuestCheck - limit maximum number of guests per specified time frame |
3 | ReservationCloseToVisitTime - Restaurant is unable to receive the reservation when it's too close to reservation time |
4 | ReservationNotAllowedWhenShiftStarts - Restaurant does not allow online reservations when shift already started |
5 | ProvidedReservationStartDateIsInPast - Requested reservation start date is in the past |
6 | ProvidedReservationEndDateIsInPast - Requested reservation end date is in the past |
7 | ReservationMaxGuestCheckByStartTime - limit maximum number of guest for specified time of the day |
8 | TablesAreNotAvailable - No available tables by guests or children |
9 | NoTableSize - There are no tables configured to allocate for requested guests quantity |