In short, I am in the process of creating / testing an application that aims to create Contacts in HubSpot CRM, using the HubSpot API, for orders from our internal billing systems.
According to your documentation:
"…
When added via imports, form submissions, or API, if a contact already exists in your account with the same email address, the new contact information will be added to the existing contact record. For example, if you import a list of contacts that includes admin@hubspot.com, and an existing contact in your HubSpot account already has the email address admin@hubspot.com, the imported information will be added to that contact record.
… "
I expect if I use these 2 endpoints
- POST / crm / v3 / objects / contacts
- POST / crm / v3 / objects / contacts / batch / create
if the created contact has an email address existing in CRM, the existing contact in HubSpot CRM will be updated. This is what happens if I use the import function on your portal (for example importing a csv file with contacts). When I am using the HubSpot API directly, I get the following error message:
HTTP 409
{
“status”: “error”,
“message”: “Contact already exists. Existing ID: 1451”,
“correlationId”: “0564bb77-bdcc-4fbb-b51a-de21c109f3c4”,
“category”: “CONFLICT”
}.
Can I ask you for help in solving this puzzle?