This endpoint is for updating a booking.
object (assetUpdate) | |
bookingStatus | string (bookingStatus) The current status of the booking |
numberOfPeople | number (numberOfPeople) >= 1 The number of expected guests |
Array of objects (payments) A list of payments applied to the booking. | |
reason | string (reason) <= 50 characters The reason the booking was rejected or cancelled. Provided only when bookingStatus is |
object (customer) The customer making the booking | |
notes | string [ 1 .. 500 ] characters Notes specific to the booking. Example: 'Window seat please' |
startTime | string <date-time> (time) The format of the date time is the notation as defined by RFC 3339, section 5.6 |
endTime | string <date-time> (time) The format of the date time is the notation as defined by RFC 3339, section 5.6 |
object (origin) Information relevant to the booking partner that this booking was created with |
No body content
When the provided request is not valid.
When you don't have the right permissions to update the booking.
When the provided bookingId
does not match a booking stored in the system.
{- "bookingStatus": "CANCELLED_BY_CUSTOMER",
- "reason": "Illness"
}
{- "error": "\"asset.tableStatus\" must be one of [SEATED, DINING, FINALISED, CLOSING]"
}