Operators are the hospitality businesses (e.g. Stonegate, Nightcap, Big Table Group) whose venues are bookable through Bookable. Bookable registers an operator before connecting its TMS credentials.
- Remove a venue from the table-reshuffle beta
Operator API (5.0.0)
API for operators and their TMS credentials. Once configured, operators and their venues become available for booking operations via the Bookings API.
Bookable onboards operators: only Bookable administrators create them. Partners can't create or manage operators; a partner lists the operators it is connected to, and asks Bookable to be connected to another.
TMS credentials are managed by Bookable administrators and the operator's Admins only. Their secrets (secretId, bearer) are write-only: the API stores them but never returns them, and says instead whether one is set (hasSecret) and when it last changed (secretUpdatedAt).
This API provides endpoints to:
- Register, retrieve, update, and deregister operators
- Manage TMS credentials for each operator
Supported TMS Systems:
- Collins (CO) - BearerToken authentication
- SevenRooms (SR) - ClientCredentials authentication
- Zonal (ZO) - BaseAuth authentication
Authentication Fields by TMS Type:
| TMS | Auth Type | Required Fields |
|---|---|---|
| Collins (CO) | BearerToken | bearer, externalOperatorId |
| SevenRooms (SR) | ClientCredentials | clientId, secretId |
| Zonal (ZO) | BaseAuth | clientId, secretId |
Request
Administrators, and the operator's own full-access team (not general managers or partners). Idempotent: a venue already in the beta keeps its original entry. Only Collins venues of the operator can be added. Slots that need a reshuffle appear from the next feed build. Each venue switched on is posted to Bookable's reshuffle Slack channel.
- Livehttps://api.bookabletech.com/operators/{operatorId}/reshuffle-beta-venues/{venueId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PUT \
https://api.bookabletech.com/operators/1/reshuffle-beta-venues/5ece848cd4ea51354476a79d \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'{ "venueId": "5ece848cd4ea51354476a79d", "enabledBy": "string", "enabledAt": "2019-08-24T14:15:22Z", "applyOnAmend": true, "applyOnAmendChangedBy": "string", "applyOnAmendChangedAt": "2019-08-24T14:15:22Z" }
Request
Administrators, and the operator's own full-access team (not general managers or partners); each venue switched off is posted to Bookable's reshuffle Slack channel. Bookings made through a reshuffle are not touched. New bookings stop using reshuffles within a minute (each API instance caches the list for up to a minute); slots that need one disappear from the next feed build. The venue's unused stored plans are deleted (plans already booked on are kept as the record). Removing a venue that isn't in the beta is not an error.
- Livehttps://api.bookabletech.com/operators/{operatorId}/reshuffle-beta-venues/{venueId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X DELETE \
https://api.bookabletech.com/operators/1/reshuffle-beta-venues/5ece848cd4ea51354476a79d \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>'Request
Administrators, and the operator's own full-access team (not general managers or partners) (BOO-1581). At every beta venue a booking whose party grows past its tables (a partner amend through Bookable, or a change made in Collins) is judged and recorded; bookings are only moved to make room where applyOnAmend is on. Off by default. With it on, a partner amend that can't be re-seated is refused (BOOK-N-046, BOOK-R-006); with it off, the amend goes in as before. Takes effect within a minute (each API instance caches it for up to a minute). A real change is posted to Bookable's reshuffle Slack channel.
- Livehttps://api.bookabletech.com/operators/{operatorId}/reshuffle-beta-venues/{venueId}
- curl
- JavaScript
- Node.js
- Python
- Java
- C#
- PHP
- Go
- Ruby
- R
- Payload
curl -i -X PATCH \
https://api.bookabletech.com/operators/1/reshuffle-beta-venues/5ece848cd4ea51354476a79d \
-H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"applyOnAmend": true
}'{ "venueId": "5ece848cd4ea51354476a79d", "enabledBy": "string", "enabledAt": "2019-08-24T14:15:22Z", "applyOnAmend": true, "applyOnAmendChangedBy": "string", "applyOnAmendChangedAt": "2019-08-24T14:15:22Z" }
Credentials connect a registered operator to their TMS. Each credential set tells Bookable how to authenticate with a specific TMS on the operator's behalf — unlocking real-time availability and booking capability for that operator's venues. An operator may hold credentials for multiple TMS systems (e.g. Collins for some venues, SevenRooms for others). Only Bookable administrators and the operator's Admins may call these endpoints; anyone else, the operator's Team members and general managers included, gets USER-N-008 (403). Secrets are write-only.