Update Deal associatedCompanyIds

deals

#1

I’m attempting to update a Deal’s associated company using the API but it doesn’t appear to work or has missing documentation. When creating a deal, the associatedCompanyIds can be set according to:

For example, when updating a deal, I’ve tried using the associations as such:

{
“associations”:{“associatedVids”:[],“associatedCompanyIds”:[123456789],“associatedDealIds”:[]},
“properties”: [
{
“name”:“amount”,
“value”:123456.0,
},
],
}

Properties will update, but associations will not (at least associatedCompanyIds will not).

Is there is a way to update the associatedCompanyIds of an existing deal?

Thank you.


#2

Hi @dwmingerso

Deal associations can’t be modified by updating the record, you’ll need to use this separate endpoint:


#3

Thanks you. I missed that section of the documentation.