Update booking
Change dates, hours, people, project or the tentative flag of a booking.
PATCH https://cotlet.dev/api/v1/resource-guru/bookings/{booking_id}
write Confirm
Returns the booking after the change. On a multi-resource booking the change applies to every resource on it. Confirming a tentative booking shows it on the booked people's Dashboard, and with the Approval Workflow on it can come back pending. By default you confirm each call; you can switch that off for this tool.
Parameters
| Name | Type | Description |
|---|---|---|
| booking_id integer required | integer | Booking ID from list_bookings. |
| start_date string | string | New first day, YYYY-MM-DD. |
| end_date string | string | New last day, YYYY-MM-DD. |
| minutes_per_day integer | integer | New minutes per day, 1 to 1440. |
| resource_ids integer[] | integer[] | Replace the booked people or resources. |
| project_id integer | integer | Move the booking to another project. |
| tentative boolean | boolean | False confirms a tentative booking, true makes it tentative. |
| clash_resolution string | string | What to do when a resource has no free time: add_to_waiting_list, book_with_overtime or increase_availability. |
Request
curl -X PATCH https://cotlet.dev/api/v1/resource-guru/bookings/48213021 \
-H "Authorization: Bearer $COTLET_API_KEY" \
-H "Content-Type: application/json" \
-d '{"tentative":false}' result = client.call("resource-guru", "update_booking", {"booking_id":48213021,"tentative":False}) const result = await cotlet.call('resource-guru', 'update_booking', {"booking_id":48213021,"tentative":false}); cotlet call resource-guru update_booking --data '{"booking_id":48213021,"tentative":false}' Example response
{
"id": 48213021,
"resource_ids": [
18211,
18214
],
"start_date": "2026-11-02",
"end_date": "2026-11-06",
"minutes_per_day": 240,
"project_id": 703110,
"tentative": false,
"approval_state": "approved",
"waiting": false
}