get https://api.staging.deliverect.com/tables/
With this call you can retrieve all tables and floors registered in a POS at a specific location.
We have enabled your staging account in Deliverect with a "dummy" POS configuration, that returns the following sample for testing purposes.
{
"tables": [
{
"id": "barSeat#1",
"name": "Bar seat #1",
"floorId": "bar",
"seats": 1
},
{
"id": "barSeat#2",
"name": "Bar seat #2",
"floorId": "bar",
"seats": 1
},
{
"id": "barSeat#3",
"name": "Bar seat #3",
"floorId": "bar",
"seats": 1
},
{
"id": "table#1",
"name": "Table #1",
"floorId": "restaurant",
"seats": 6
},
{
"id": "table#2",
"name": "Table #2",
"floorId": "restaurant",
"seats": 8
},
{
"id": "Delivery",
"name": "delivery"
}
],
"floors": [
{
"id": "bar",
"name": "Bar"
},
{
"id": "restaurant",
"name": "Restaurant"
}
]
}