How do add new data in option select property use to api?
SOLVE
Hey @byersoy , are you referring to adding a new option to an enumeration type property? If so, you are looking at the correct documentation https://developers.hubspot.com/docs/methods/contacts/v2/update_contact_property - to update your enumeration property with a new option, you need to include all of the existing options and your new option in the request payload.
How do add new data in option select property use to api?
SOLVE
No problem @byersoy . To update a enumeration property, which is a property with options, you need to include in your request payload all of your existing options + the new option you want to add. If you only include the new option in your request payload, it will overwrite all of your existing options with only that new option you sent.
How do add new data in option select property use to api?
SOLVE
Hi;
Do you know if we include all the options + the new option in the payload, do the existing options remain the same (keeps contact values for the previously filled property)? For example, if contact "A" in the "car" property had the value "volvo" checked, and I add "Opel" to the "car options" through the API and include "volvo" in the payload, will the value on contact "A" be affected?