Merging Accounts/Contacts
This tutorial should help you merge Accounts or Contact. Before moving forward, make sure your Authentication works and you understand the Key Concepts of the Pipeliner API, and make sure you know how to use API parameters
When you have two similar Accounts or Contacts you can use merge functionality to move all data from a duplicate to the master record. The Duplicate will be deleted at the same time

Merging Accounts

post
https://us-east.pipelinersales.com/api/v100/rest/spaces/<space_id>
/entities/Accounts/merge

Merging Contacts

post
https://us-east.pipelinersales.com/api/v100/rest/spaces/<space_id>
/entities/Contacts/merge
Example of Account Merging
The merging functionality through API works in the same way as in the Application.
1
/POST /entities/Accounts/merge
2
{
3
"master": {
4
"id": "4590b5a8-134a-404e-96f5-b40256bebc39"
5
},
6
"secondary_ids": [
7
"109e5d1c-6d10-449b-b244-28438a428926"
8
]
9
}
Copied!
master- This record will inherit data from a duplicate defined in secondary_ids
secondary_ids - An Array of Duplicates, use Account IDs to specify the Accounts. All duplicates are automatically deleted