Laposta icon

Laposta

Interact with Laposta API

Member → Update

AI-generated

Summary

Updates a member's email address, state, or custom fields in a Laposta list.

Inputs

  • listId (required) — The ID of the Laposta list containing the member
  • memberId (required) — The ID or email address of the member to update
  • updateFields — Additional fields to update on the member. Email and state are supported; unspecified fields are left unchanged.
  • customFieldsUi — Custom fields to assign or overwrite on the member. Provide field name-value pairs; existing fields not included remain unchanged.

Output shape

object

The updated member object as returned by the Laposta API, including the member's current state, email, list relation, and any custom fields.

Examples

Example 1: Update a member's email and subscribe/unsubscribe status

Set memberId to the target member's ID or email, listId to the relevant list, updateFields.email to the new address, and updateFields.state to 'unsubscribed' or leave as 'active'.

Links

Discussion