PATCH call to engagement API call does not update some fields
Hi,
I have been trying to update the associations on a recently created engagement, that was created successfully through the engagement API. I noticed that the associated company of a contact is also automatically associated with a new engagement (email log in this case). Because I am using the API to log old emails that were sent a long time ago, and the contacts have changed which companies they are associated with since that time, I want to remove this association after I have created the engagement in the first place.
However, it seems that the PATCH call is unable to change or remove any associations. In fact, the only things the PATCH call are allowed to change, it seems, is the engagement ownerId and timestamp and the metadata body, which are coincidentally the ones listed in the example. I wonder if I am doing something wrong, or if there are in fact restrictions to what properties on the engagement object can be changed.
I actually tried doing the same change/removal of ownerIds using a PUT call, but again no change to the association fields. It would be very good to have a clarification around this and some help to get the desired result here.
PATCH call to engagement API call does not update some fields
Hi,
No, I realised after hours of wasted time using different approaches that to update det associations, I had to use the Associations API and not the engagement API. In the future, it would be helpful, if you specified which fields of an engagements that can be patched after the engagements are created and which fields must be altered using other APIs in the Hubspot API library. That would have saved me time and could save others time in the future. Thanks for getting back to me though!
We're sorry to hear that this was a frustrating experience but thank you for this feedback, we'll be sure to pass this to our team as we look to flush out our new v3 documentation and improve our developer experience!