Merges the listed contacts into this contact and saves it exactly as contact (a full replace). Their client links move to this contact, or combine with its own on the same client. The one active portal login moves to this contact, replacing an inactive login it has. Document references are re-pointed, and the merged contacts are permanently deleted. Cannot be undone. Returns 400 with blockers when the contacts cannot be merged, and 409 when one of them changed during the merge.
Requires: Delete on Contacts.
Parameters
| Name | Type | Description |
|---|---|---|
| tenant* | path string | The Tenant.Code |
The Tenant.Code |
||
| code* | path string | |
Request Body*
{
"mergedContactCodes": [
"string"
],
"contact": {
"title": "string",
"firstName": "string",
"middleName": "string",
"lastName": "string",
"preferredName": "string"
}
}
Responses
200 OK
400 Bad Request
401 Unauthorized – Invalid or missing API key
403 Forbidden – the caller lacks the permissions this endpoint requires; the detail lists every one missing
application/problem+json
404 Not Found
409 Conflict