Update a client
senta_update_clientWRITE: partially update an existing client; only submitted properties are changed, per Senta's Client API. Read current contacts with senta_get_client before editing them and pass the contact details to update or add. Changing clientstate or enabling a service can start jobs in Senta. There is no delete tool. PUT /api/clients/{id}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| web | No | ||
| town | No | ||
| title | No | Client name (Senta's `title`). | |
| No | |||
| address1 | No | ||
| address2 | No | ||
| contacts | No | Contact details to update or add, following the practice's contact form. Read current contacts before editing. | |
| district | No | ||
| postcode | No | ||
| client_id | Yes | The client id (`_id`) to update. | |
| telephone | No | ||
| clienttype | No | Type, e.g. "Partnership". | |
| vatservice | No | Whether the VAT service applies. | |
| clientstate | No | State, e.g. "Prospect" or "Client" (the practice's own states). | |
| businessarea | No | Business area, e.g. "Veterinary". | |
| extra_fields | No | Other fields configured by the practice (Settings > Forms > Edit Client), keyed by Senta's internal field name. | |
| paymentmethod | No | Payment method, e.g. "Monthly". |