Update a Booking
PATCH/api/v1/bookings/:id
Update a Booking
Request
Path Parameters
id int32required
- application/vnd.api+json
 
Body
required
data
object
id stringrequired
type stringrequired
Possible values: [bookings]
attributes
object
status string
seats_taken int32
Responses
- 200
 
Update a Booking
- application/vnd.api+json
 
- Schema
 - Example (from schema)
 
Schema
data
object
id stringrequired
type stringrequired
Possible values: [bookings]
links
object
required
self stringrequired
attributes
object
required
status stringrequired
Possible values: [booked, seated, appetizer, main_course, dessert, bill, no_show]
{
  "data": {
    "id": "string",
    "type": "bookings",
    "links": {
      "self": "string"
    },
    "attributes": {
      "status": "booked"
    }
  }
}
Loading...