MergeRecords URL

Is it possible to create a merge records URL for the leads module?

For example in order to view a lead I can just put in the ID here → https://suitecrm/index.php?module=Leads&action=DetailView&record=<record_id>

Is there something similar available like https://suitecrm/index.php?module=MergeRecords&MergeModule=Leads&record1=<record_id1>&record2=<record_id2> — this URL structure is totally made up just to explain my point.

Any help in this regard would be appreciated.

Use case:
I’ve configured the CRM to generate an email incase of duplicates (custom function due to other complex reasons) - i would like to add a link/url in there which can initiate the merge function

Have you tried looking attentively at the URLs traveling between the browser and server, including what appears in the browser’s developer tools (network tab)?

It’s possible that the request is not a GET, but a POST. So you could emulate it, but with a bit more code (curl).

1 Like