MergeContacts merges the source contact into the target contact.
POST/api/v1/crm/contacts/:targetId:merge
All FKs (activities, memberships, deals, notes) are rewritten to point at the target. The source is soft-deleted. Irreversible.
Errors:
- NOT_FOUND: target or source does not exist.
- FAILED_PRECONDITION: target and source are the same (ErrMergeConflict).
- PERMISSION_DENIED: caller lacks admin access on both contacts.
Request
Responses
- 200
- default
A successful response.
An unexpected error response.