APIs & Integrations

Not applicable

Issues with the Forms API (Standard vs AJAX)

SOLVE

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

0 Upvotes
1 Accepted solution
LeifInouye
Solution
HubSpot Alumni
HubSpot Alumni

Issues with the Forms API (Standard vs AJAX)

SOLVE

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.

View solution in original post

0 Upvotes
1 Reply 1
LeifInouye
Solution
HubSpot Alumni
HubSpot Alumni

Issues with the Forms API (Standard vs AJAX)

SOLVE

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.

0 Upvotes