Update a member's attributes
Auth: Bearer key scoped to the list's domain.
Replaces the attribute map outright rather than merging it, so a key left out is gone. Address, status and source aren't editable: a different address is a different member, and consent moves through the confirm and unsubscribe doors.
bearerAuthorizationBearer <token>An API key in the Authorization header.
id*stringAn opaque, type-prefixed id.
memberId*stringAn opaque, type-prefixed id.
application/json- body
attributes*Replaces the member's attribute map outright. An empty object clears it.
The updated membership.
application/json- response
id?stringOpaque id, prefixed lmb_.
list_id?stringThe list this membership belongs to.
address?stringNormalized recipient address.
status?stringWhether this address currently receives a batch.
"pending""subscribed""unsubscribed"source?stringHow this membership was created.
"api""import""manual"source_message_id?|Set when source is api — the send whose subscribe added this member.
manual_actor?|Set when source is manual — who added the member.
attributes?Flat map substituted into {{name}} placeholders on a batch send.
double_opt_in?booleanThe opt-in mode that applied to this membership.
confirmed_at?|ISO 8601 timestamp, or null.
confirmed_by?|Which mode confirmed this membership.
"link""import""not_required"nullpending_expires_at?|A pending membership past this timestamp never receives a batch.
unsubscribed_at?|ISO 8601 timestamp, or null.
created_at?stringISO 8601 timestamp.
updated_at?stringISO 8601 timestamp.
curl -X PATCH 'https://pouch.example.com/v1/lists/string/members/string' \ -H 'Content-Type: application/json' \ -d '{ "attributes": { "property1": "string", "property2": "string" }}'{ "id": "string", "list_id": "string", "address": "string", "status": "pending", "source": "api", "source_message_id": "string", "manual_actor": "string", "attributes": {}, "double_opt_in": true, "confirmed_at": "string", "confirmed_by": "link", "pending_expires_at": "string", "unsubscribed_at": "string", "created_at": "string", "updated_at": "string"}