Skip to main content

Update table by id

PUT 

/api/v2/tables/:table_id

Update a table by its id

Request

Path Parameters

    table_id uuidrequired

    Unique ID of the table

    Example: 120c50ab-24ae-48f9-8860-ec0e9adea9ec

Body

required

    number string

    Human-friendly identifier of the table

    number_of_seats integer

    Number of seats the table has

    position_x number

    X position of the table in the floor plan

    position_y number

    Y position of the table in the floor plan

    rotation number

    Rotation of the table in the floor plan

    shape string

    Possible values: [round, square, rectangular]

    Shape of the table in the floor plan

    floor_plan_id uuid

    ID of the floor plan to associate

Responses

Schema

    id uuidrequired

    Unique ID of the table

    floor_plan_id uuidnullable

    ID of the floor plan that the table belongs to

    number stringrequired

    Human-friendly identifier of the table

    number_of_seats integerrequired

    Number of seats the table has

    position_x numberrequired

    X position of the table in the floor plan

    position_y numberrequired

    Y position of the table in the floor plan

    rotation numberrequired

    Rotation of the table in the floor plan

    shape stringrequired

    Possible values: [round, square, rectangular]

    Shape of the table in the floor plan

Loading...