Create table reservations to set an external reservation ID
Create a new table reservation: POST Reservations
POST /v1/reservations
{
"id": "someId-123",
"tableId": "7384194f8270d4a3204d", //valid tableId
"terminalId": "9d5334520f690600f6ad", //valid terminalId
"name": "Mrs Test",
"numberOfGuests": 2
}
Retrieve open table reservations: GET Reservations
GET /v1/reservations
[
{
"id": "someId-123",
"tableId": "7384194f8270d4a3204d",
"terminalId" : "9d5334520f690600f6ad",
"name": "Mrs Test",
"numberOfGuests": 2
},
{
"id": "blabla-1232",
"tableId": "abcdesdfsf",
"terminalId" : "abcdef1234",
"name": "Bgdan",
"numberOfGuests": 4
}
...
NOTES:
The provided reservationId remains until all orders from the assigned table are cleared!
The reservationId is referenced in invoice objects accessible through GET request and API notification webhook