Merge Duplicate Group
Merge a group into one surviving record. IRREVERSIBLE.
Returns 200 with the result when the merge finishes quickly, otherwise 202 with a job to poll. 409 if a merge for this group is already in flight, if the group is no longer pending, or if it changed since the reviewer loaded it.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Path Parameters
Duplicate group to merge.
Body
Merge a duplicate group into one surviving record.
Irreversible: every record in loser_ids is merged into winner_id and then permanently deleted. Their activities, deals, tasks and enrollments are reparented onto the winner first.
Id of the record that survives the merge.
Ids of the records to merge into the winner and then permanently delete. Must be members of the group.
1Per-field overrides. Any field omitted keeps the winner's own value, or the loser's when the winner's is empty.
The group's member_key as shown to the reviewer. If the set of records in the group changed since, the merge is rejected with 409 rather than applied to something the reviewer did not see. Deliberately not a timestamp: every scheduled rescan touches the group's last_seen_at, so a timestamp would reject a perfectly valid review just because a nightly scan ran.
Response
Successful Response