Create a table of a business
POST/api/v1/tables
Create a table of a business
Request
- application/vnd.api+json
 
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
position_x int32
X coordinate of the table
position_y int32
Y coordinate of the table
relationships
object
floor_plan
object
required
data
object
type stringrequired
Possible values: [floor_plan]
id stringrequired
Related floor plan ID
Responses
- 201
 
Create a table of a business
- application/vnd.api+json
 
- Schema
 - Example (from schema)
 
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
{
  "data": {
    "id": "string",
    "type": "string",
    "attributes": {
      "number": "string",
      "number-of-seats": 0,
      "shape": "string",
      "rotation": 0,
      "position-x": 0,
      "position-y": 0
    }
  }
}
Loading...