Skip to main content

Create a table of a business

POST 

/api/v1/tables

Create a table of a business

Request

Body

required

    data

    object

    type stringrequired

    Possible values: [tables]

    attributes

    object

    number stringrequired
    number_of_seats int32required
    shape string

    The shape of the table

    rotation string

    The rotation option of the table

    coord_x int32

    X coordinate of the table

    coord_y int32

    Y coordinate of the table

    position_x int32

    X coordinate of the table

    position_y int32

    Y coordinate of the table

    relationships

    object

    business

    object

    data

    object

    type stringrequired

    Possible values: [business]

    id stringrequired

    Related business ID

    floor_plan

    object

    data

    object

    type stringrequired

    Possible values: [floor_plan]

    id stringrequired

    Related floor plan ID

Responses

Create a table of a business

Schema

    data

    object

    required

    id string
    type string

    attributes

    object

    number string
    number-of-seats integer
    shape string
    rotation integer
    position-x integer
    position-y integer
Loading...