Update contact
textline_update_customerWRITE: update a contact's name, email, notes, tags (add, remove or replace) or custom fields (by custom-field UUID from textline_list_custom_fields). Overwrites the fields you pass; sends nothing to the contact. PUT /api/customer/{uuid}.json.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | No | Full name. | |
| tags | No | Tags, e.g. ['VIP', 'new_lead'] (underscores instead of spaces). | |
| No | Email address. | ||
| notes | No | Notes on the contact (replaces the existing notes). | |
| custom_fields | No | Custom field values keyed by custom-field UUID, e.g. {"c43a1766-47e1-4c9c-a2cc-36bf424fcbc0": "Gold"}. | |
| customer_uuid | Yes | Contact (customer) UUID. | |
| tags_handling | No | How to apply tags: add, remove or replace (Textline's default if omitted). |