Hi,
When I use the create companies api it will allow me to create duplicate entries.
I am specifying the domain name in the data.
Is there anything I can do to avoid duplicates ?
Cheers
Dave
PUT /companies/v2/companies/:companyId - Updates the existing company with the id :companyId
As you mentioned domain won’t be required to be unique in the same way that email would be for contacts, and we don’t have a single endpoint that would allow you to either update or create a company, so if you’re updating a company you’d need to store the companyId of the existing HubSpot record and then use the update endpoint.