Update subscriber
enginemailer_update_subscriberWRITE: change an existing subscriber's subcategories and/or custom fields. subcategories_mode: append (default), remove (drop the given subcategories) or replace (the given list becomes the full list). custom_fields_mode: update_given (change only the given fields) or replace_all (default; fields not given are cleared). POST /restapi/subscriber/emsubscriber/updateSubscriber.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| Yes | An email address (max 128 characters). | ||
| custom_fields | No | Custom field values to set. | |
| subcategory_ids | No | Subcategory (list/segment) ids from enginemailer_list_subscriber_categories. | |
| custom_fields_mode | No | update_given changes only the listed fields; replace_all (the vendor default) clears the others. | |
| subcategories_mode | No | How subcategory_ids apply (default append). |