# Deleting a line item using ExternalObjectId

**URL:** <https://community.hubspot.com/t/deleting-a-line-item-using-externalobjectid/26882>\
**Category:** APIs & Integrations\
**Created:** [October 16, 2020, 8:11pm UTC](https://community.hubspot.com/t/deleting-a-line-item-using-externalobjectid/26882 "2020-10-16T20:11:06Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![himanshurauthan](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/himanshurauthan/32/53076_2.png) [@himanshurauthan](https://community.hubspot.com/u/himanshurauthan)\
**Post date:** [October 23, 2020, 3:49am UTC](https://community.hubspot.com/t/deleting-a-line-item-using-externalobjectid/26882/6 "2020-10-23T03:49:29Z")

</div>

Hey @Resanehlab ,  
You can search the deal using the ExternalObjectId, i am supposing that if you are using the eComm bridge api you are creating deal for order or passing the ExternalObjectId in **ip\_\_ecomm\_bridge\_\_order\_number**.

using [search api](https://developers.hubspot.com/docs/api/crm/search) you can get the deal ID using the ExternalObjectId.

Thanks,  
Himanshu

---

_[View the full topic](https://community.hubspot.com/t/deleting-a-line-item-using-externalobjectid/26882)._
