Emailit icon

Emailit

Transactional email platform. Send emails, manage domains, templates, audiences, webhooks, suppressions, contacts, and verify emails via the Emailit API.

Subscribers → Update a subscriber

AI-generated

Summary

Update a subscriber's information within a specified audience by providing their subscriber ID and audience ID, optionally modifying fields such as first name, last name, and subscription status.

Inputs

  • id (required) — Audience ID where the subscriber belongs.
  • sub_id (required) — Subscriber ID to identify the subscriber to update.
  • additionalFields — Optional subscriber fields to update, including first name, last name, and subscription status.
  • options — Optional configurations such as sending a custom JSON body merged with the fields, adding custom HTTP headers, applying query string filters, batching settings, debug mode, pagination controls, and request timeout.

Output shape

a single record representing the updated subscriber's data.

The operation sends a POST request to the endpoint /audiences/{id}/subscribers/{sub_id} to update subscriber details. If customBody is provided in options, it deeply merges with other fields and takes priority. Debug information can be included if enabled. Pagination parameters may apply but typically only one record is updated and returned.

Links

Discussion