# Do object associations using hasUniqueValue properties

**URL:** <https://community.hubspot.com/t/do-object-associations-using-hasuniquevalue-properties/67697>\
**Category:** APIs & Integrations\
**Created:** [October 23, 2022, 9:42pm UTC](https://community.hubspot.com/t/do-object-associations-using-hasuniquevalue-properties/67697 "2022-10-23T21:42:57Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![DNolander](https://avatars.discourse-cdn.com/v4/letter/d/e9c0ed/32.png) [@DNolander](https://community.hubspot.com/u/DNolander)\
**Post date:** [October 23, 2022, 9:42pm UTC](https://community.hubspot.com/t/do-object-associations-using-hasuniquevalue-properties/67697/1 "2022-10-23T21:42:57Z")

</div>

Hi

Trying to migrate the our ecommerce integration now that the ecom bridge is end of life.

Goal is to use IDs in the eCom platform in HubSpot as well by creating a property per Object that hasUniqueValue = true.

Works great for CRUD against a single Object using “?idProperty=” in the request URL  
BUT is there a way to do Associations between 2 object using a property on each of them that has hasUniqueValue = true?

Like Contact using email and Company using our Internal CustomerNumber.

---

<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:58pm UTC](https://community.hubspot.com/t/do-object-associations-using-hasuniquevalue-properties/67697/2 "2022-10-25T16:58:44Z")

</div>

Hi, @DNolander 👋 Thanks for reaching out. Hey, @louischausse @LMeert @miljkovicmisa, do you have any thoughts on other ways @DNolander might think about, or approach, their project?

Best,

Jaycee

---

<div class="post-metadata">

**Author:** ![louischausse](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/louischausse/32/18067_2.png) [@louischausse](https://community.hubspot.com/u/louischausse)\
**Post date:** [November 21, 2022, 8:32pm UTC](https://community.hubspot.com/t/do-object-associations-using-hasuniquevalue-properties/67697/3 "2022-11-21T20:32:33Z")

</div>

Hi @DNolander  
What object do you want to associate together and why?
