# Line Items Update

**URL:** <https://community.hubspot.com/t/line-items-update/81179>\
**Category:** APIs & Integrations\
**Tags:** object\
**Created:** [May 15, 2023, 7:55am UTC](https://community.hubspot.com/t/line-items-update/81179 "2023-05-15T07:55:24Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![NMusicki](https://avatars.discourse-cdn.com/v4/letter/n/5e9695/32.png) [@NMusicki](https://community.hubspot.com/u/NMusicki)\
**Post date:** [May 15, 2023, 7:55am UTC](https://community.hubspot.com/t/line-items-update/81179/1 "2023-05-15T07:55:24Z")

</div>

Hello,

I am trying to update the line items of my deals, but I can’t find their ID. I would like to find them using my deals, so I can update them. How can I do this? And with which properties?

Thank you

Nicolas

---

<div class="post-metadata">

**Author:** ![JBeatty](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jbeatty/32/52252_2.png) [@JBeatty](https://community.hubspot.com/u/JBeatty)\
**Post date:** [May 15, 2023, 3:07pm UTC](https://community.hubspot.com/t/line-items-update/81179/2 "2023-05-15T15:07:36Z")

</div>

Hi @NMusicki,

Line Items are their own object within HubSpot, so to find them based off of your deals you can use the associations API, either [V3](https://developers.hubspot.com/docs/api/crm/associations/v3) or [V4](https://developers.hubspot.com/docs/api/crm/associations) work well here. The association type ID is “19” for deal to line items which you would use in the API to find the line items asssociated to a deal.

Best,
