Merge
Merge operations combine two records into one.
Merge two accounts
client.merge.mergeAccounts(MergeMergeAccountsParams { duplicateId, primaryId, fieldResolutions, options } body, RequestOptionsoptions?): MergeMergeAccountsResponse { merge, primary, summary }
POST/v1/accounts/merge
Merge two contacts
client.merge.mergeContacts(MergeMergeContactsParams { duplicateId, primaryId, fieldResolutions, options } body, RequestOptionsoptions?): MergeMergeContactsResponse { merge, primary, summary }
POST/v1/contacts/merge
Merge two opportunities
client.merge.mergeOpportunities(MergeMergeOpportunitiesParams { duplicateId, primaryId, fieldResolutions, options } body, RequestOptionsoptions?): MergeMergeOpportunitiesResponse { merge, primary, summary }
POST/v1/opportunities/merge
Merge two custom object records
client.merge.mergeObjectValues(stringentitySlug, MergeMergeObjectValuesParams { duplicateId, primaryId, fieldResolutions, options } body, RequestOptionsoptions?): MergeMergeObjectValuesResponse { merge, primary, summary }
POST/v1/objects/{entitySlug}/merge
Get merge status
client.merge.getMerge(stringid, RequestOptionsoptions?): MergeGetMergeResponse { id, createdAt, duplicateId, 4 more }
GET/v1/merges/{id}
ModelsExpand Collapse
MergeMergeAccountsResponse { merge, primary, summary }
MergeMergeAccountsResponse { merge, primary, summary }
primary: Primary { id, createdAt, fields, 4 more }
primary: Primary { id, createdAt, fields, 4 more }
fields: Record<string, Fields>Map of field names to their typed values. System fields are prefixed with $ (e.g. $name, $email); custom attributes use their bare slug.
fields: Record<string, Fields>
Map of field names to their typed values. System fields are prefixed with $ (e.g. $name, $email); custom attributes use their bare slug.
summary: Summary { fieldWriteCount, syncRepointedCount, warnings }
summary: Summary { fieldWriteCount, syncRepointedCount, warnings }
MergeMergeContactsResponse { merge, primary, summary }
MergeMergeContactsResponse { merge, primary, summary }
primary: Primary { id, createdAt, fields, 4 more }
primary: Primary { id, createdAt, fields, 4 more }
fields: Record<string, Fields>Map of field names to their typed values. System fields are prefixed with $ (e.g. $name, $email); custom attributes use their bare slug.
fields: Record<string, Fields>
Map of field names to their typed values. System fields are prefixed with $ (e.g. $name, $email); custom attributes use their bare slug.
summary: Summary { fieldWriteCount, syncRepointedCount, warnings }
summary: Summary { fieldWriteCount, syncRepointedCount, warnings }
MergeMergeObjectValuesResponse { merge, primary, summary }
MergeMergeObjectValuesResponse { merge, primary, summary }
primary: Primary { id, createdAt, fields, 4 more }
primary: Primary { id, createdAt, fields, 4 more }
fields: Record<string, Fields>Map of field names to their typed values. System fields are prefixed with $ (e.g. $name, $email); custom attributes use their bare slug.
fields: Record<string, Fields>
Map of field names to their typed values. System fields are prefixed with $ (e.g. $name, $email); custom attributes use their bare slug.
summary: Summary { fieldWriteCount, syncRepointedCount, warnings }
summary: Summary { fieldWriteCount, syncRepointedCount, warnings }
MergeMergeOpportunitiesResponse { merge, primary, summary }
MergeMergeOpportunitiesResponse { merge, primary, summary }
primary: Primary { id, createdAt, fields, 4 more }
primary: Primary { id, createdAt, fields, 4 more }
fields: Record<string, Fields>Map of field names to their typed values. System fields are prefixed with $ (e.g. $name, $email); custom attributes use their bare slug.
fields: Record<string, Fields>
Map of field names to their typed values. System fields are prefixed with $ (e.g. $name, $email); custom attributes use their bare slug.
summary: Summary { fieldWriteCount, syncRepointedCount, warnings }
summary: Summary { fieldWriteCount, syncRepointedCount, warnings }