Update appointment
bookafy_update_appointmentWRITE: reschedule or edit an existing appointment. Send the required staff, service, new times and customer name — read current values with bookafy_list_appointments first. Omitted optional fields are not sent. The customer may be notified of the change. Times are converted to UTC. PUT /api/v3/appointments/{id}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | New end, ISO 8601 date-time with timezone (after start, at most 24 h later). | |
| price | No | Price of the appointment. | |
| start | Yes | New start, ISO 8601 date-time with timezone. | |
| title | No | Appointment title. | |
| service_id | Yes | Service id. | |
| description | No | Notes shown with the appointment. | |
| custom_fields | No | Custom booking-form answers as {field_name: value}, with underscores for spaces, e.g. {"What_is_your_DOB": "1990"}. | |
| customer_name | Yes | Customer's full name. | |
| staff_user_id | Yes | Staff user the appointment is with. | |
| appointment_id | Yes | Appointment id (from bookafy_list_appointments). | |
| customer_email | No | Customer's email. | |
| customer_phone | No | Customer's phone number. |