Contacts

Resolve a dedup review by merging the pair

PATCH
/api/contacts/dedup-reviews/{reviewId}/merge

Merges the source contact into the candidate contact using optional per-field choices, then marks the review merged. Cascades any other pending reviews on the same source contact to kept_separate.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

reviewId*string

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X PATCH "https://example.com/api/contacts/dedup-reviews/string/merge" \  -H "Content-Type: application/json" \  -d '{    "resolution": {      "firstName": "candidate",      "lastName": "candidate",      "email": "source"    }  }'
{  "success": true,  "message": "Review merged",  "data": {    "_id": "64f0a1b2c3d4e5f6a7b8ca30",    "status": "merged"  }}