Update client
agendapro_update_clientWRITE: change an existing client (partial update: only the fields you pass change; it overwrites the stored value). PATCH /v3/clients/{id}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| age | No | Age in years. | |
| city | No | City. On update, an empty string clears the stored value. | |
| No | Email (stored lowercase). | ||
| phone | No | Phone in E.164 format, e.g. +56912345678. | |
| gender | No | 0 = other, 1 = female, 2 = male. | |
| region | No | Region or state. On update, an empty string clears the stored value. | |
| address | No | Street address. On update, an empty string clears the stored value. | |
| district | No | District or neighborhood. On update, an empty string clears the stored value. | |
| birth_day | No | Day of birth, 1-31. | |
| client_id | Yes | AgendaPro client id. | |
| last_name | No | Last name. On update, an empty string clears the stored value. | |
| birth_year | No | Year of birth. | |
| first_name | No | First name. | |
| birth_month | No | Month of birth, 1-12. | |
| custom_attributes | No | Custom attribute values to set. | |
| identification_number | No | National identification number (RUT, DNI, CURP...). On update, an empty string clears the stored value. |