Tables
Working with tables in Menuflow
Tables define the number of seats, and type of seating, and a table is linked to all orders. A table_id is required to create a new order and request order details. A table can have two states: open (in-use) or available (not in-use). The factor that determines if a table is in use is the balance being greater than zero. It is essential that applications close the specific table after full payment is received. The following API calls allow you to manage tables on the Menuflow platform.
Get Tables
Call to retrieve a list of all tables at a specific location regardless of status
List Request
GET
https://api.menuflow.dev/go/table/{location_id}
curl --location 'https://api.menuflow.dev/go/table/{location_id}'
--header 'x-api-key: YOUR-API-KEY'
Path Parameters
Get Open Tables
Call to retrieve a list of open tables at a specific location regardless of status
List Open Tables
GET
https://api.menuflow.dev/go/table/{location_id}/open
curl --location 'https://api.menuflow.dev/go/table/{location_id}/open'
--header 'x-api-key: YOUR-API-KEY'
Path Parameters
Get Available Tables
Call to retrieve a list of available tables at a specific location regardless of status
List Available Tables
GET
https://api.menuflow.dev/go/table/{location_id}/available
curl --location 'https://api.menuflow.dev/go/table/{location_id}/
available'
--header 'x-api-key: YOUR-API-KEY'
Path Parameters
Open Table
Call to modify an available table to change the status to open and return an order_id for order management for the table.
Open Table
PUT
https://api.menuflow.dev/go/table/{table_id}/open
curl
--location
--request PUT'https://api.menuflow.dev/go/table/{table_id}/open'
--header 'Content-Type: text/plain'
--header 'x-api-key: YOUR-API-KEY'
--data '{
"location_id": "1220",
"staff_id": 4001,
"allergens": 1
}'
Path Parameters
Request Body
Close Table
Call to close an open table. Tables can only be closed if full payment has been made for the associated order_id.
Close Table
PUT
https://api.menuflow.dev/go/table/{table_id}/close
curl --location
--request PUT'https://api.menuflow.dev/go/table/{table_id}
/close'
--header 'x-api-key: YOUR-API-KEY'
Path Parameters
Add Table
Call to add a new table to a specific location.
Add Request
POST
https://api.menuflow.dev/go/table/{location_id}
curl
--location 'https://api.menuflow.dev/go/table/{location_id}'
--header 'Content-Type: text/plain'
--header 'x-api-key: YOUR-API-KEY'
--data '{
"table_number": "1",
"table_type": 3,
"seats": 12,
}'
Path Parameters
Delete Table
Call to delete a specific staff member. Deleted staff members may still be shown in tipping reports.
Delete Request
DELETE
https://api.menuflow.dev/go/table/{table_id}
curl
--location
--request DELETE 'https://api.menuflow.dev/go/table/{table_id}'
--header 'x-api-key: YOUR-API-KEY'
Path Parameters
Last updated