Lettr icon

Lettr

Interact with Lettr transactional email APIs

Audience Segment → Update

AI-generated

Summary

Update an audience segment by ID, optionally changing its conditions, list restriction, or name. The update fields are sent as a partial body, so omitted fields are not included in the request.

Inputs

  • Segment ID (required) — ID of the audience segment to update.
  • Conditions (JSON) — Optional JSON value for the segment’s new conditions.
  • List ID — Optional list ID to restrict the segment to a single list.
  • Name — Optional new segment name.

Output shape

A single API response record for the updated segment.

The source pack only provides a signature-level view and does not show the request or response handling for this operation; the output shape cannot be confirmed from the supplied source.

Links

Discussion