Merges source contacts into a target contact.
Merging contacts has the following effects on the target contact:
Important: Merges cannot be undone. In REST, call Preview Merge Contacts to test before merging.
When you merge contacts, source contacts are typically deleted. However, if a source contact is a site member or a Wix user, the merge will fail because site members and Wix users can't be deleted. This means that site members and Wix users can only be specified as target contacts in a merge.
After merging, calling Get Contact with a deleted source contact ID returns the target contact ID. Specifying a deleted source contact ID is not supported on any other method.
When contacts are merged:
originatedFrom
is set to merge
.originatedFrom
is set to merge
.You can only call this method when authenticated as a Wix app or Wix user identity.
Target contact ID.
Target contact revision number, which increments by 1 each time the contact is updated.
To prevent conflicting changes,
the target contact's current revision
must be specified.
Merge contacts options.