Update lead
mailbluster_update_leadWRITE: change an existing lead's name, custom fields, email, timezone, IP address, subscription flag or tags (send only what should change). subscribed is left alone unless you pass it; false unsubscribes the lead, true re-subscribes. Only set subscribed=true when the person has given consent to receive email from this brand (the user is responsible for lawful consent); this server never subscribes anyone on its own. PUT /leads/{md5(email)}.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| No | Current email of the lead to update (preferred). | ||
| fields | No | Custom field values keyed by the field's MERGE TAG (see mailbluster_list_fields), e.g. {"company": "Pied Piper"}. | |
| add_tags | No | Tag names to attach (created if missing). Applied before remove_tags. | |
| timezone | No | ||
| last_name | No | ||
| lead_hash | No | Alternative to email: the 32-character MD5 hex of the lowercased current email. | |
| new_email | No | Change the lead's email address to this. | |
| first_name | No | ||
| ip_address | No | ||
| subscribed | No | Only pass to change the subscription. true only with the lead's consent. | |
| remove_tags | No | Tag names to detach. |