# internalObjectId property

**URL:** <https://community.hubspot.com/t/internalobjectid-property/66212>\
**Category:** APIs & Integrations\
**Created:** [September 29, 2022, 9:22pm UTC](https://community.hubspot.com/t/internalobjectid-property/66212 "2022-09-29T21:22:49Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![TheBon](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/thebon/32/79091_2.png) [@TheBon](https://community.hubspot.com/u/TheBon)\
**Post date:** [September 29, 2022, 9:22pm UTC](https://community.hubspot.com/t/internalobjectid-property/66212/1 "2022-09-29T21:22:49Z")

</div>

Hello, I’ve had a question from our web developers, who are working on migrating the e-commerce bridge to the new API. They have reviewed the developers page on the topic.

**What is the simplest way of using the internalObjectId after changing to v3 API?**  
Can anyone point me in the direction of the answer? Thanks!

---

<div class="post-metadata">

**Author:** ![Jaycee\_Lewis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jaycee_lewis/32/61352_2.png) [@Jaycee\_Lewis](https://community.hubspot.com/u/Jaycee_Lewis)\
**Post date:** [September 30, 2022, 9:21pm UTC](https://community.hubspot.com/t/internalobjectid-property/66212/2 "2022-09-30T21:21:34Z")

</div>

Hi, @TheBon 👋 Hey, @himanshurauthan does your team have thoughts to share?

Best,

Jaycee

---

<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 17, 2022, 8:06am UTC](https://community.hubspot.com/t/internalobjectid-property/66212/3 "2022-10-17T08:06:20Z")

</div>

Hello [@Jaycee\_Lewis](https://community.hubspot.com/t5/user/viewprofilepage/user-id/127074) and @TheBon,

In the ecomm bridge, **all the sync is based on the externalObjectId** but, in the **v3 API** whenever you create any object you need to **save its HubSpot id on your system**. For the update, you can use the same id.

Also, if you haven’t kept the id for the old objects then you need to first **run the search API** to check if the object record is already there or not. If the record is found on HubSpot it will **return the object id** , then you can save its id and further use it.

All the associations will be done on the bases of these object APIs. You can also check the [**Migration doc**](https://developers.hubspot.com/docs/api/migrate-an-existing-ecommerce-bridge-api-integration).’

Regards,
