Update customer
bookafy_update_customerWRITE: change a customer's details. Bookafy needs the name every time, so pass the current name when you only change the email or phone. Fields you leave out are not sent. PUT /api/v3/customers/{id}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Customer's full name (required by Bookafy on every update). | |
| No | New email. | ||
| phone | No | New phone number. | |
| customer_id | Yes | Customer id (from bookafy_list_customers). | |
| custom_fields | No | Custom booking-form answers as {field_name: value}, with underscores for spaces, e.g. {"What_is_your_DOB": "1990"}. |