Update visitor
chaport_update_visitorUpdate a visitor's contact data: name, email, phone, notes, custom fields, email-marketing consent and UTM data. Only the fields you pass change. Returns the updated visitor. PUT /visitors/{visitorId}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| utm | No | UTM parameters. | |
| name | No | Visitor name. | |
| No | Visitor email address. | ||
| notes | No | Operator notes about the visitor . | |
| phone | No | Visitor phone number (free-form). | |
| custom | No | Custom visitor fields as a JSON object (keys are your Chaport custom field keys). | |
| visitor_id | Yes | Chaport visitor id (from chaport_list_visitors). | |
| source_host | No | Website the visitor contacted you from. | |
| email_marketing_consent | No | Whether the visitor consented to email marketing. |