Unable to add a single deal property value with put


#1

Using the URL in the docs to add a new select option results in all the data being replaced by this one entity. Is there another endpoint to add only 1 value to the property

https://api.hubapi.com/properties/v1/deals/properties/named/referral_partner?hapikey=hapikey

{
"name": "referral_partner",
"label": "Lead Source",
"description": "",
"groupName": "dealinformation",
"type": "enumeration",
"fieldType": "select",
"options": [
{
"hidden": false,
"label": "Test2",
"value": "Test2",
"readOnly": false,
"description": null,
"displayOrder": -1,
"doubleData": null
}
],
"createdAt": 1509298792252,
"updatedAt": 1539610725769,
"updatedUserId": 5973239
}


#3

Hi @clevy,

At this time, it is not possible to append values to multiple checkbox properties via an API; only imports and workflows have this functionality.

These topics also cover this behavior:

While some historical property values can still be used in lists and workflows, the only way to get all the values in the property at once will be to GET the current property values through the Deals API and add the values to the PUT update call.


#4

Got it, thanks for the quick response

Crystal Levy

Developer