# Hubspot Ecommerce Bridge Migration

**URL:** <https://community.hubspot.com/t/hubspot-ecommerce-bridge-migration/67706>\
**Category:** APIs & Integrations\
**Created:** [October 24, 2022, 9:51am UTC](https://community.hubspot.com/t/hubspot-ecommerce-bridge-migration/67706 "2022-10-24T09:51:05Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![SiGa](https://avatars.discourse-cdn.com/v4/letter/s/b77776/32.png) [@SiGa](https://community.hubspot.com/u/SiGa)\
**Post date:** [October 24, 2022, 9:51am UTC](https://community.hubspot.com/t/hubspot-ecommerce-bridge-migration/67706/1 "2022-10-24T09:51:05Z")

</div>

I’ve been asked to migrate the ecommerce bridge api to the CRM apis on behalf of another company.  
I’m trying to find if there’s a way to get all the existing Contacts, Deals, Line Items and Products and copy their externalObjectId over into a new field so I can search for it in the Search API.  
Is there any way of finding this information?

---

<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:** [October 25, 2022, 4:03pm UTC](https://community.hubspot.com/t/hubspot-ecommerce-bridge-migration/67706/2 "2022-10-25T16:03:09Z")

</div>

Hi, @SiGa 👋 Thanks for the question. Hey, @himanshurauthan @LMeert, do you have any thoughts on how @SiGa can get at this data?

Thank you! — Jaycee

---

<div class="post-metadata">

**Author:** ![SiGa](https://avatars.discourse-cdn.com/v4/letter/s/b77776/32.png) [@SiGa](https://community.hubspot.com/u/SiGa)\
**Post date:** [October 28, 2022, 7:48am UTC](https://community.hubspot.com/t/hubspot-ecommerce-bridge-migration/67706/3 "2022-10-28T07:48:32Z")

</div>

Thanks [@Jaycee\_Lewis](https://community.hubspot.com/t5/user/viewprofilepage/user-id/127074).  
I’ve started to change the script to use the CRM API, However I’ve got another question also.  
In the Ecommerce Bridge there is an Association between Line Items and Products but within the CRM there isnt.  
Is there a way to create this?  
Thanks! - Simon

---

<div class="post-metadata">

**Author:** ![RBajracharya7](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/rbajracharya7/32/197070_2.png) [@RBajracharya7](https://community.hubspot.com/u/RBajracharya7)\
**Post date:** [December 2, 2022, 11:10am UTC](https://community.hubspot.com/t/hubspot-ecommerce-bridge-migration/67706/4 "2022-12-02T11:10:44Z")

</div>

Hi @SiGa, did you get the answer on how to do the association thing working?

---

<div class="post-metadata">

**Author:** ![SiGa](https://avatars.discourse-cdn.com/v4/letter/s/b77776/32.png) [@SiGa](https://community.hubspot.com/u/SiGa)\
**Post date:** [December 2, 2022, 11:13am UTC](https://community.hubspot.com/t/hubspot-ecommerce-bridge-migration/67706/5 "2022-12-02T11:13:35Z")

</div>

I never got a reply from Hubspot. I ended up creating the field myself and creating a new association

---

<div class="post-metadata">

**Author:** ![SiGa](https://avatars.discourse-cdn.com/v4/letter/s/b77776/32.png) [@SiGa](https://community.hubspot.com/u/SiGa)\
**Post date:** [November 7, 2022, 10:46am UTC](https://community.hubspot.com/t/hubspot-ecommerce-bridge-migration/67706/6 "2022-11-07T10:46:40Z")

</div>

@himanshurauthan @LMeert [@Jaycee\_Lewis](https://community.hubspot.com/t5/user/viewprofilepage/user-id/127074)  
I’ve been waiting for around 2 weeks and the sunset date is getting closer.  
Do you have any advice on this issue?
