Background:
We try to use company API to create a new company in Hubspot.
Problem:
From your documentation, the domain is used to avoid duplicates. However, when I tested this via API, hubspot API creates a new company every time, even the domain is the same.
"It is recommended to always include domain, because domain names are the primary unique identifier to avoid duplicate companies in HubSpot. "
Reproduce the Problem:
Input:
{
“properties”: {
“name”: “TestCompanyNameUI”,
“domain”: “TestCompanyNameUI.COM”,
“city”: “”,
“industry”: “”,
“phone”: “”,
“state”: “”
}
}
Current Response:
1. If we use the same inputs to create company multiple times, each time, we created a new company.
Expected Response:
If we use the same domain, first time, it shall create a new company. After first time, it shall give 409 and return existing company ID.
Another question:
1. Can I use company name to dedupe, instead of domain name?
Can you help answer the above issues?