This endpoint is used to create a table within Tyro Connect.
The id that is returned as a part of the response should be used to identify the table for subsequent events or retrieving the details.
Created
When the provided payload is not valid.
When you don't have the right permissions to create a table for the provided location.
{- "number": "table-1",
- "locationId": "tc-cool-3000",
- "section": {
- "id": "section-id",
- "name": "awesome section"
}
}
{- "id": "2688fcf2-44dd-4c72-88ac-79d0910f2983",
- "number": "table-1",
- "locationId": "tc-cool-3000",
- "section": {
- "id": "section-id",
- "name": "awesome section"
}, - "openSales": [ ]
}