Update a contact
vision6_update_contactWRITE: change one contact's email, mobile, custom field values, subscription status (email_subscribed/mobile_subscribed=false unsubscribes), active flag or double opt-in. Only the fields you pass change. May trigger 'contact updated' automations. Returns the updated contact. PATCH /lists/{list_id}/contacts/{contact_id}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | Email address (the list must have an Email field). | ||
| fields | No | Custom list field values, keyed by the lowercase key of the field name (underscores for spaces/dashes, e.g. first_name). Use vision6_list_list_fields to see the list's fields. | |
| mobile | No | Mobile number in international format without + or spaces (Australia: 61400000009). The list must have a Mobile field. | |
| list_id | Yes | ||
| is_active | No | The contact's active status. | |
| contact_id | Yes | ||
| double_opt_in | No | true marks the contact as already confirmed (sets the double opt-in time to now). It cannot be reset to false afterwards. | |
| email_subscribed | No | Whether the email address is subscribed to receive messages. | |
| mobile_subscribed | No | Whether the mobile number is subscribed to receive messages. |