Initiate Company Merge
Changed onInitiate a company merge to combine a duplicate company profile into a primary company profile.
This is an asynchronous process that will merge all data from the duplicate company into the primary company. Once the merge is initiated, you can track its progress using the returned task URL.
Requires the "Manage duplicates" permission and organization admin role.
Request
- Base URLhttps://api.affinity.co
- URLhttps://api.affinity.co/v2/company-merges
- AuthHTTP bearer
Request body
Example request
{
"primaryCompanyId": 12345,
"duplicateCompanyId": 67890
}Response
Accepted
Example response
{
"taskUrl": "https://api.affinit.com/tasks/company-merges/123e4567-e89b-12d3-a456-426614174000"
}Changes
- info
added
authenticationauthorizationbad-requestconflictmethod-not-allowednot-acceptablenot-foundnot-implementedrate-limitservertimeoutunprocessable-entityunsupported-media-typevalidationdiscriminator mapping keys to the/response property for the response status - info
added
bad-requestvalidationdiscriminator mapping keys to the/response property for the response status
- info