# Deal hs\_lastmodifieddate update when changes in associated objects

**URL:** <https://community.hubspot.com/t/deal-hs-lastmodifieddate-update-when-changes-in-associated-objects/35852>\
**Category:** APIs & Integrations\
**Tags:** object\
**Created:** [April 21, 2021, 7:20am UTC](https://community.hubspot.com/t/deal-hs-lastmodifieddate-update-when-changes-in-associated-objects/35852 "2021-04-21T07:20:50Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![bonski](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/bonski/32/63860_2.png) [@bonski](https://community.hubspot.com/u/bonski)\
**Post date:** [April 21, 2021, 7:20am UTC](https://community.hubspot.com/t/deal-hs-lastmodifieddate-update-when-changes-in-associated-objects/35852/1 "2021-04-21T07:20:50Z")

</div>

Hi!

I’m working on a project that integrates with Hubspot, where we need to poll Hubspot to find deals changes regularly. With a deal change, we also mean changes to corresponding contacts and line items.

My initial understanding was that changes in contacts and line items would not update the change dates on the deal object, but when I checked it, it seems to do just that. Even adding a note on a contact associated with a deal, the hs\_lastmodifieddate and updatedAt on the deal object got updated. This is great, but when I asked our Hubspot team, they speculate that this feature comes from the “old API” and could therefore change in the future. Is this the case, or is it safe for us to use this feature?

André

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [April 21, 2021, 5:14pm UTC](https://community.hubspot.com/t/deal-hs-lastmodifieddate-update-when-changes-in-associated-objects/35852/2 "2021-04-21T17:14:56Z")

</div>

Hi @bonski ,

By old API, are you referencing the v1 legacy APIs?

Also, these properties act the same way when using the v3 ([https://api.hubapi.com/crm/v3/objects/deals/:dealid](https://api.hubapi.com/crm/v3/objects/deals/:dealid)) so you should be good to go.

---

<div class="post-metadata">

**Author:** ![bonski](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/bonski/32/63860_2.png) [@bonski](https://community.hubspot.com/u/bonski)\
**Post date:** [April 21, 2021, 7:06pm UTC](https://community.hubspot.com/t/deal-hs-lastmodifieddate-update-when-changes-in-associated-objects/35852/3 "2021-04-21T19:06:38Z")

</div>

Yes, I mean the legacy API.  
Thanks for your reply.  
André

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [April 22, 2021, 2:29pm UTC](https://community.hubspot.com/t/deal-hs-lastmodifieddate-update-when-changes-in-associated-objects/35852/4 "2021-04-22T14:29:40Z")

</div>

If all you are looking for are these two property values, I would recommend adopting the V3 endpoints

---

<div class="post-metadata">

**Author:** ![bonski](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/bonski/32/63860_2.png) [@bonski](https://community.hubspot.com/u/bonski)\
**Post date:** [April 23, 2021, 7:08am UTC](https://community.hubspot.com/t/deal-hs-lastmodifieddate-update-when-changes-in-associated-objects/35852/5 "2021-04-23T07:08:39Z")

</div>

Thanks!

We do use the V3 endpoints, but we were told that the “updatedAt and hs\_lastmodifieddate” would not be updated by changes in associated objects. When we found out that they do, the same persons were surprised and speculated that it could be a “side effect” of the legacy API is used behind the scenes.

André

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [April 26, 2021, 8:29pm UTC](https://community.hubspot.com/t/deal-hs-lastmodifieddate-update-when-changes-in-associated-objects/35852/6 "2021-04-26T20:29:07Z")

</div>

Nope, this was in the design. No side effect from this medicine 🙃
