Magidoc

mergeCrmRecords
Mutation

Merge two CRM records of the same type. The duplicate's associations, foreign-key references, and blank field values move onto the survivor (survivor's values always win), then the duplicate is archived. Only account and person records can be merged today. An already-archived duplicate is accepted so an interrupted merge can be re-run to completion.

Access: Workspace members with CRM access.

Errors: Throws if the user lacks CRM access, the survivor is missing or archived, the duplicate is missing, the two ids are identical, an account merge would create a hierarchy cycle, or Salesforce sync would be broken (both accounts linked, or only the record being archived is linked).

Arguments

#

input

Non-null

Response

#

Returns Boolean !.

Example

#