Availability Controls
Get availability close-offs for a date
Returns all close-offs for a given date: full-day closures, closed service hours, closed dining areas, closed matrix cells (dining area + service hour combinations), and closed individual time slots.
Authorization
bearerAuth AuthorizationBearer <token>
Supports two token types:
- Restaurant tokens — API tokens with
restaurant-apiability, issued per restaurant. - User tokens — Personal access tokens with
mobile-accessability (e.g. for the mobile app). When managing multiple restaurants, includeX-Restaurant-Id: <id>header.
In: header
Query Parameters
date*string
Date to query close-offs for.
Format
dateResponse Body
application/json
application/json
application/json
curl -X GET "https://devrms.tabdevx.com/api/restaurant/availability-controls?date=2026-06-10"{
"date": "2026-06-10",
"full_day_closed": false,
"closed_service_hours": [
{
"id": 123,
"service_hour_id": 5,
"service_hour_name": "Lunch",
"service_hour_open": "12:00",
"service_hour_close": "15:00"
}
],
"closed_dining_areas": [
{
"id": 124,
"dining_area_id": 3,
"dining_area_name": "Terrace"
}
],
"closed_matrix": [
{
"id": 125,
"dining_area_id": 3,
"dining_area_name": "Terrace",
"service_hour_id": 5,
"service_hour_name": "Lunch",
"service_hour_open": "12:00",
"service_hour_close": "15:00"
}
],
"closed_slots": [
"12:00",
"12:15"
]
}{
"error": {
"code": "string",
"message": "string",
"details": {}
},
"meta": {
"timestamp": "2019-08-24T14:15:22Z"
}
}{
"message": "The given data was invalid.",
"errors": {
"date": [
"The date field is required."
],
"adults": [
"The adults must be at least 1."
]
}
}