Edit a client
client_editEdit an existing customer by their ID. All fields are optional except the ID. Use data_list_clients to find the customer ID first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ID of the customer to modify | |
| lat | No | GPS latitude of the customer address | |
| lng | No | GPS longitude of the customer address | |
| city | No | City | |
| name | No | Customer first name | |
| No | Customer email address | ||
| phone | No | Primary phone number | |
| title | No | Honorific or title (e.g. Mr, Mrs, Company) | |
| VATnum | No | VAT registration number | |
| phone2 | No | Secondary phone number | |
| barcode | No | Customer loyalty card barcode | |
| country | No | Country | |
| surname | No | Customer surname / last name | |
| position | No | Sort order / priority within the customer list | |
| postcode | No | Postal/ZIP code | |
| birthDate | No | Date of birth (YYYY-MM-DD or timestamp) | |
| blacklist | No | 1 to blacklist this customer | |
| activityCode | No | Accounting activity code | |
| addressline1 | No | Street address line 1 | |
| addressline2 | No | Street address line 2 | |
| adressComment | No | Delivery instructions or address comment | |
| clientGroupID | No | ID of the customer group/segment | |
| commentPublic | No | Note visible to the customer | |
| commentPrivate | No | Internal staff-only note | |
| identificationID | No | National ID or passport number | |
| registrationNumber | No | Company registration number (SIRET, etc.) |