Mailcoach icon

Mailcoach

Interact with Mailcoach API - Manage email lists, subscribers, campaigns, and transactional emails

Subscriber → Update

AI-generated

Summary

Update an existing subscriber's attributes by specifying their Subscriber ID along with any desired changes such as first name, last name, tags, or custom extra attributes.

Inputs

  • Subscriber ID (required) — The UUID of the subscriber to update.
  • Additional Fields — Optional subscriber attributes to update, including first name, last name, a comma-separated list of tags, and extra custom key-value attributes.

Output shape

a JSON object representing the updated subscriber's data as returned by the Mailcoach API.

The operation returns the API response containing the updated subscriber data. Custom extra attributes must be provided as key-value pairs under 'extra_attributes'. Tags can be provided as a comma-separated string which is converted to an array. If the API call fails, an error will be thrown unless 'Continue On Fail' is enabled, in which case errors are returned as objects in the output array.

Examples

Example 1: Update first name and last name for a subscriber with given UUID

Set Subscriber ID to the target UUID and provide 'First Name' and 'Last Name' fields under Additional Fields.

Discussion