patch https://{youraccountname}.api-us1.com/api/3/dealCustomFieldData/bulkUpdate
To create a custom deal field values, the following permissions are required.
- Deal permission: the user should have permission to manage deals.
- Pipeline-specific permission: the user should have permission to manage the pipeline that the deal belongs to. If the user does not have the permission to manage the pipeline, limited deal data are returned with only
id
,title
, andisDisabled
set to1
. - When creating a field value for a multivalued field (checkbox, multiselect), values must be strings in an array, e.g.
["Option 1", "Option 2", "Option 4"]
, whether one value or multiple are being set.
[
{
"id": "1",
"fieldValue": "test title"
},
{
"id": "2",
"fieldValue": [
"option 1",
"option 3",
"option 4"
]
},
{
"id": "3",
"fieldValue": 9999,
"fieldCurrency": "cad"
},
{
"id": "4",
"fieldValue": "100.99"
},
{
"id": "5",
"fieldValue": "2018-12-31"
},
{
"id": "6",
"fieldValue": "2020-05-19T02:45:00-05:00" //ISO format
}
]