Dec 14, 20205:20 AM - edited Dec 14, 20205:22 AM
Contributor
Set a custom property to "Has unique value: yes" to deduplicate object Companies in API and .csv upl
SOLVE
Hello,
I am writing here because we struggle on a point and you may have the answer.
Let me explain: we connect our custom BO to Hubspot in API.
Among the connections, we create a new Company based on a custom property called "Company regstration number".
We need this "Company registration Number" to deduplicate company creation both in API and .csv uploads.
> At the moment, Hubspot deduplicates Companies on domain name (we can keep this rule), but we need to set "Company registration number" to (I guess) have "unique value" so that when creating a Company in API, if this company already exists (thanks to the Company registration number), it cannot create it because it would already exist/have an existing "Company registration number".
Thus, this rule would apply both for API requests and .csv uploads for Companies creation.
Do you know if this is possible and where to set it up in the API ?
Set a custom property to "Has unique value: yes" to deduplicate object Companies in API and .csv upl
SOLVE
Hi there, I don't believe you will be able to dedupe only using hubspot and your custom prop. you are going to need to do this on your own app. you may be able to create a webhook to send the newly created company to your server and using that info find out if you should assing a registration id to the company or create a new one. Then use the API to update the company
If this post helped you resolve your issue, please consider marking it as the solution. Thank you for supporting our HubSpot community.
Set a custom property to "Has unique value: yes" to deduplicate object Companies in API and .csv upl
SOLVE
Hi there, I don't believe you will be able to dedupe only using hubspot and your custom prop. you are going to need to do this on your own app. you may be able to create a webhook to send the newly created company to your server and using that info find out if you should assing a registration id to the company or create a new one. Then use the API to update the company
If this post helped you resolve your issue, please consider marking it as the solution. Thank you for supporting our HubSpot community.