Skip to main content
The tables endpoints give you programmatic control over your restaurant’s table inventory. You can list all tables, create new ones, update existing ones, delete them, and bulk-update their positions on the floor plan. All requests require a valid JWT Bearer token.

List tables

Returns all tables for your restaurant.

Endpoint


Create a table

Creates a new table. name and seats are required; all other fields are optional and default to sensible values.

Endpoint

Request body

string
required
Display name of the table — for example, "Table 5" or "Terrace 1".
number
required
Number of seats at this table. Must be greater than zero.
number
Ordering position in list views. Lower values appear first.
string
The ID of the room this table belongs to. If your restaurant has only one room, you can omit this field.
number
Horizontal position on the floor plan canvas, in pixels.
number
Vertical position on the floor plan canvas, in pixels.
number
Width of the table shape on the canvas, in pixels.
number
Height of the table shape on the canvas, in pixels.
string
Shape of the table on the floor plan. Accepted values: "rect" (rectangle) or "circle".
number
Rotation angle of the table in degrees. For example, 45 rotates the table 45 degrees clockwise.

Update a table

Updates one or more fields on an existing table. Only include the fields you want to change.

Endpoint

string
required
The ID of the table to update.

Delete a table

Permanently deletes a table. Returns 204 No Content on success.

Endpoint

string
required
The ID of the table to delete.

Bulk update table positions

Updates the floor plan positions of multiple tables in a single request. Useful after a drag-and-drop repositioning session in a floor plan editor.

Endpoint

Request body

object[]
required
Array of position update objects. Each object identifies a table by id and provides its new position.