Tool
mail_contact_update
Update a contact (properties or unsubscribed flag)
Update a contact (properties or unsubscribed flag)
Behavior
- HTTP
PATCH /mail/audiences/:audienceId/contacts/:id
Arguments
| Name | Type | Required | Description |
|---|---|---|---|
| id | string | • | Contact id |
| properties | object | — | Replace the custom properties object |
| audience_id | string | • | Audience id |
| unsubscribed | boolean | — | Set the marketing opt-out flag |
Response
| Field | Type | Always | Description |
|---|---|---|---|
| id | string | • | |
| string | • | ||
| createdAt | string | • | |
| updatedAt | string | • | |
| audienceId | string | • | |
| properties | string | — | |
| unsubscribed | boolean | • |
Try it
Update a contact (properties or unsubscribed flag).