Confirm, move or cancel an appointment
update_appointmentAct on one booking from list_appointments (or cancel a registration / enrolment by its claim_id, optionally with refund for a paid place): "confirm" (the visitor is told and reminders start), "reschedule" (new date YYYY-MM-DD and time HH:MM on the business's clock; refused when that time is not open unless override_hours), "suggest_time" (the owner can't do the requested time: moves it to date/time AND confirms it, emailing the visitor the new time with an optional message and a link to pick another), "cancel" (reminders stop and the visitor is emailed — confirm with the owner first), "completed", "no_show".
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | No | For "reschedule" | |
| time | No | For "reschedule", business clock | |
| notes | No | Replace the booking's notes | |
| action | Yes | ||
| refund | No | With claim_id + "cancel": also refund a paid place in full. Ask the owner first | |
| message | No | For "suggest_time" / "cancel": a short note to the visitor, in their email | |
| site_id | Yes | The site, from list_sites | |
| claim_id | No | A registration / enrolment from list_appointments view "registrations" / "enrolments" — action "cancel" only | |
| user_goal | No | Optional: the user's goal behind this call, in one short sentence of plain words (e.g. "add a page so customers can book tables"). No names, emails or other personal details. | |
| booking_id | No | From list_appointments | |
| override_hours | No | For "reschedule": keep a time outside the published hours |