APIs & Integrations

Esco_Developers
Membre

Creating a Contact with Properties with Multiple answers json API

Résolue

Good Evening, 

 

Is it possible using the API to bullk update contacts with properties that are multi check box with more than one option. For example a custom property has been created which is multiselect checkbox with 5 options and I wish to update the contact with 4 out of the possible 5. The https://developers.hubspot.com/docs/methods/contacts/batch_create_or_update document shows the basics but just wanted an example of the json structure for the multiple properties.

 

Thanks in advance

0 Votes
1 Solution acceptée
Mike_Eastwood
Solution
Conseiller clé | Partenaire solutions Gold
Conseiller clé | Partenaire solutions Gold

Creating a Contact with Properties with Multiple answers json API

Résolue

Hi @Esco_Developers 

 

I would try separating the values with a semicolons.

 

;value 1; value 2; value 3

I've read somewhere that the semicolon at the start appends the values and no semi colon at the start replaces the values BUT it's worth testing.

 

Reference:

https://knowledge.hubspot.com/articles/kcs_article/contacts/import-data-to-checkbox-properties

 

Have fun

Mike

Voir la solution dans l'envoi d'origine

2 Réponses
Mike_Eastwood
Solution
Conseiller clé | Partenaire solutions Gold
Conseiller clé | Partenaire solutions Gold

Creating a Contact with Properties with Multiple answers json API

Résolue

Hi @Esco_Developers 

 

I would try separating the values with a semicolons.

 

;value 1; value 2; value 3

I've read somewhere that the semicolon at the start appends the values and no semi colon at the start replaces the values BUT it's worth testing.

 

Reference:

https://knowledge.hubspot.com/articles/kcs_article/contacts/import-data-to-checkbox-properties

 

Have fun

Mike

Esco_Developers
Membre

Creating a Contact with Properties with Multiple answers json API

Résolue

Hi Mike, 

 

Thanks that is perfect. exactly as you described.