Tableo Restaurant API
Bookings

Toggle Online Bookings

Pause or resume online bookings for the restaurant. When paused=true, all online booking channels are disabled. This is a global toggle — it affects the entire restaurant, not individual time slots or dining areas.

POST
/api/restaurant/bookings/availability-pause

Authorization

bearerAuth
AuthorizationBearer <token>

Supports two token types:

  1. Restaurant tokens — API tokens with restaurant-api ability, issued per restaurant.
  2. User tokens — Personal access tokens with mobile-access ability (e.g. for the mobile app). When managing multiple restaurants, include X-Restaurant-Id: <id> header.

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

paused*boolean

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://devrms.tabdevx.com/api/restaurant/bookings/availability-pause" \  -H "Content-Type: application/json" \  -d '{    "paused": true  }'
{
  "data": {
    "allow_online_bookings": false,
    "paused": true
  }
}
{
  "error": {
    "code": "string",
    "message": "string",
    "details": {}
  },
  "meta": {
    "timestamp": "2019-08-24T14:15:22Z"
  }
}
{
  "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."
    ]
  }
}
{
  "error": {
    "code": "string",
    "message": "string",
    "details": {}
  },
  "meta": {
    "timestamp": "2019-08-24T14:15:22Z"
  }
}