Update visitor
chatra_update_visitorWRITE: edit a visitor's basic info (name, email, phone, notes) exactly as if an agent edited it in the Chatra dashboard. Only the fields you pass change; null removes a value. Returns the updated visitor. PUT /clients/{id}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Visitor name; null removes it. | |
| No | Visitor email; null removes it. | ||
| notes | No | Agent notes about the visitor; null removes them. | |
| phone | No | Visitor phone number; null removes it. | |
| client_id | Yes | Chatra visitor id: the `clientId` your website passed to the chat widget (ChatraSetup.clientId) or the visitor id from a Chatra webhook (client.id). |