Update contact
plunk_update_contactUpdate a contact's email address or custom fields, modifying only the fields you supply. Use to correct an address or set custom data; not for subscription changes.
Instructions
Purpose: Change a contact's email address or custom data. Only the fields supplied are modified.
Not for: Changing subscription state, which has its own tools: plunk_subscribe_contact and plunk_unsubscribe_contact.
Returns: The updated contact.
Use when: Correcting an address or setting custom fields.
Note: In the data object, null deletes a key, empty strings are ignored, and reserved keys are filtered. Changing an email to one already in use returns 409.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"id": "<id>"
},
"name": "plunk_update_contact"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| data | No | ||
| No | |||
| subscribed | No |