hs_lastmodifieddate on Deal not changing after editing Contact association label

Afternoon,

I have a Deal that has a Contact associated with it via the Association Label “Primary Contact”. When I remove this label on the Contact and retrieve it via the API the hs_lastmodifieddate on the Deal does not change.
How can I tell that this association has changed?

Thank you.

Hi @IFairbairn,
Thank you for reaching out to the Community!
I understand that you’d like to see the “Last modified date” property updated when you update the association between records.
On this article, I can see that the “Last modified date” deal property refers to “the most recent date that any property on a deal was updated. This is updated automatically by HubSpot.”.
The association labels are actually not a property, that is why the “last modified date” property does not update in this case. For the moment it is not possible to update a property via the edit of the association label.
I have found this similar idea already submitted: “Last modified date be updated when any association/dissociation occurs”.
I’d recommend supporting the Idea with an upvote and explaining your use case in the comments.
Our product team uses that forum to collect ideas on how we can improve the product for our customers.
Product pays particular attention to the top voted ideas & takes them into consideration along with other feedback channels as well as their own vision to understand what features will be most valuable.
I also wanted to invite a couple of subject matter experts to this conversation @mangelet, @Shadab_Khan and @Mike_Eastwood can you think of a wrokaround perhaps to help @IFairbairn, please?
If anybody else has anything to add and/or share, please feel free to join in the conversation :slightly_smiling_face:
Thanks and have a lovely day!
Best,
Bérangère

Thanks @BérangèreL ,

Hi @IFairbairn

In the UI you can find this info in Association History to confirm your results:

From API you can test various Endpoints on the new Associations API v4

Stay Awesome & Keep Doing it BIG :fire:

Moderator note: While this solution may not address the original poster’s specific situation, it could be helpful for other community members facing similar challenges.

I can’t see an API endpoint that shows me the association history, is there one?

I am not a dev so cannot pinpoint a specific one, but my brain says if its available via UI it should be via API as well but I would ask around in Developer’s forum

Hi @IFairbairn

There’s a reasonably new Associations API that will let you get the Associations of the Object.

Have fun

Mike

p.s. thank you for the mention @BérangèreL

Here to learn more about HubSpot and share my HubSpot Knowledge. I’m the founder of Webalite a HubSpot Partner Agency based in Wellington, New Zealand and the founder of Portal-iQ the world’s first automated HubSpot Portal Audit that helps you work smarter with HubSpot.