Organizations

Update contact fuzzy-merge settings

PUT
/api/organizations/{organizationId}/contact-fuzzy-merge-settings

Partially updates the fuzzy-merge configuration: numeric thresholds (0-100% or absolute), candidate limit (1-200), custom field rules (field path / weight / matchMode), lookup-trigger and instant-merge field lists, and per-field conflict resolution rules. All changes are validated against the merged configuration.

Authorization

bearerAuth
AuthorizationBearer <token>

In: header

Path Parameters

organizationId*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

curl -X PUT "https://example.com/api/organizations/string/contact-fuzzy-merge-settings" \  -H "Content-Type: application/json" \  -d '{    "candidateLimit": 100,    "thresholdPercent": 92,    "reviewThresholdPercent": 75,    "customFields": [      {        "field": "address.streetAddress",        "weight": 20,        "matchMode": "fuzzy_string"      }    ],    "lookupTriggerFields": [      "email",      "phoneNumber"    ],    "instantMergeFields": [      "email"    ]  }'
{  "success": true,  "message": "Contact fuzzy merge settings updated",  "data": {    "candidateLimit": 100,    "thresholdPercent": 92,    "reviewThresholdPercent": 75,    "customFields": [],    "lookupTriggerFields": [      "email",      "phoneNumber"    ],    "instantMergeFields": [      "email"    ],    "conflictResolutionRules": {}  }}