Skip to main content

MergeAccounts merges the source account into the target account.

POST 

/api/v1/crm/accounts/:targetId:merge

All child accounts, contacts, deals, notes, and activities that reference the source are rewritten to point to the target. The source account is soft-deleted. This operation is irreversible.

Errors:

  • NOT_FOUND: target or source does not exist.
  • FAILED_PRECONDITION: target and source are the same account (ErrMergeConflict).
  • PERMISSION_DENIED: caller lacks admin access on both accounts.

Request

Responses

A successful response.