This endpoint allows updating an existing booking. The booking must be in a pending or confirmed state. Updates can include changes to party size, date, notes, or other details.
PUT https://partner-domain.com/v1/mozrest/booking/{bookingId}
| Parameter | Status | Description |
|---|---|---|
| bookingId | Mandatory | The unique identifier of the booking to be updated. |
| Parameter | Status | Description |
|---|---|---|
| partySize | Optional | Updated number of people for the reservation. |
| date | Optional | Updated date and time of the reservation (ISO 8601 format). |
curl PUT "https://partner-domain.com/v1/mozrest/booking/{bookingId}" \
-H "Authorization: Bearer {{api_key}}" \
--data-raw '{
"partySize": 2,
"date": 1639665000
}'{
"id": "60e890aca5f07b6ee5b950b1",
"status": "confirmed"
}- id: Unique identifier for the booking.
- status: Status of the booking (e.g., "confirmed").