Update table
PATCH/api/v1/tables/:id
Update table
Request
Path Parameters
id int32required
- application/vnd.api+json
Body
required
data
object
id stringrequired
type stringrequired
Possible values: [tables
]
attributes
object
number string
number_of_seats int32
shape string
rotation int32
position_x int32
X coordinate of the table
position_y int32
Y coordinate of the table
Responses
- 200
Update table
- 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...