Update contact persons
update_contact_personsReplaces the full set of persons on a contact. Any existing person left out of the list is removed, so send every person to keep. The change is pushed to the accounting system and the contact is then re-synced. Exactly one person must be marked as primary. The primary person is imported, while additional persons may be local depending on accounting-system rules.
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": {
"organisationId": "<organisationId>",
"id": "<id>",
"persons": "<persons>"
},
"name": "update_contact_persons"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| persons | Yes | ||
| organisationId | Yes | Id of the organisation to act on, from list_organisations |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | ||
| name | Yes | ||
| status | Yes | ||
| groupId | Yes | ||
| groupTitle | Yes | ||
| smsOptedOut | Yes | ||
| accountNumber | No | ||
| contactPersons | Yes | ||
| accountingSystemId | Yes |