Issues with the Forms API (Standard vs AJAX)


#1

Hi,

we use your forms api to send data from our website to HubSpot. Previously we used the "standard" forms api and had a field where we would not overwrite the property of a contact (if it already existed) but update it (by appending a semi-colon ; before the value). This worked just fine. But since we updated to the new ajax version of the forms api, this doesn't seem to work anymore, the property gets overwritten. Is there a new way to update a property or are we doing something wrong?

Thanks in advance.

Florian


#3

Hey Florian,

HubSpot doesn't have the ability to add values to an existing property with the type enumeration. This is highlighted in this article: https://developers.hubspot.com/docs/methods/contacts/v2/update_contact_property

You will need to include all values in the body of your response moving forward.