I am running into an issue with an API integration with iCapture and Multiple Checkboxes
we cannot get HubSpot to recognize more than one check box.
example
}, “property_name”: { “VALUE”: “value1;value2;value3”, “NAME”: “property_name”, “UPDATE_METHOD”: “replace” },
Hi, @eoswald.
To clarify, are you attempting to update contact records with checkbox property values, or some other object?
Which endpoint are you using (e.g. Create or update a contact) and what error are you receiving?
If you are not receiving any errors, could you please describe the behavior you do see in greater detail? For example, if you send in value1;value2;value3 is only value1 set?
Finally, if you can provide an example contact and payload which I can test with, that would be fantastic.
@IsaacTakushi with the integration when I test, I do not see an error, I only see the first value selected set
this uses the contact create or update end point
},
“products_of_interest”: {
“VALUE”: “value1;value2;value3;value4;value5;value6”,
“NAME”: “products_of_interest”,
“UPDATE_METHOD”: “replace”
Hi, @eoswald.
I successfully updated this test contact with three products_of_interest values using the following code:
POST
https://api.hubapi.com/contacts/v1/contact/createOrUpdate/email/example_email@example.com
{
"properties": [
{
"property": "products_of_interest",
"value": "FlexCore B...;FlexCore G...;Pedestrian B..."
}
]
}
This endpoint’s documentation shows that contact properties should be formatted as:
{
"properties": [
{
"property": "property_name",
"value": "value1;value2;value3;value4;value5;value6"
}
]
}
Where are you getting this format?
"property_name": {
"VALUE": "value1;value2;value3;value4;value5;value6",
"NAME": "property_name",
"UPDATE_METHOD": "replace"
}