Merges duplicate contacts into the target contact id. This cannot be undone through the API.
1.
Every contact field that is empty on the target is filled with the value of a duplicate that has one.
2.
Records that point to a duplicate, such as reservations, invoices and contact links, are moved to the target.
3.
The duplicates are deleted.
4.
The target's reservation count and customer credit balance are recalculated.
IDs in contact_ids that do not exist are skipped, and the target ID is ignored if you include it.
Request
Authorization
Path Params
Header Params
Body Params application/jsonRequired
Example
{"contact_ids":"1540,1544"}
Responses
🟢200OK
application/json
The contacts were merged. HTTP 200 is also used for failures: always check success. When it is false, the body is an ErrorUnauthorized (status_code 401 or 403).