# Change Custom Object Association Cardinality

**URL:** <https://community.hubspot.com/t/change-custom-object-association-cardinality/27511>\
**Category:** APIs & Integrations\
**Tags:** timeline-and-extensions-apis\
**Created:** [November 2, 2020, 8:47pm UTC](https://community.hubspot.com/t/change-custom-object-association-cardinality/27511 "2020-11-02T20:47:52Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![JeffBantz](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jeffbantz/32/43872_2.png) [@JeffBantz](https://community.hubspot.com/u/JeffBantz)\
**Post date:** [November 2, 2020, 8:47pm UTC](https://community.hubspot.com/t/change-custom-object-association-cardinality/27511/1 "2020-11-02T20:47:52Z")

</div>

I have just begun playing around with Custom Objects so any assistance would be appreciated. I would like to set some of the associations to be ONE\_TO\_ONE rather than ONE\_TO\_MANY. I’ve dug through the documentation and don’t see the means to update the cardinality anywhere.

{  
“fromObjectTypeId”: “2-1137866”,  
“toObjectTypeId”: “0-1”,  
“name”: “metro\_to\_contact”,  
“cardinality”: “ONE\_TO\_MANY”,  
“inverseCardinality”: “ONE\_TO\_MANY”,  
“id”: “31”,  
“createdAt”: null,  
“updatedAt”: null  
}, {  
“fromObjectTypeId”: “0-1”,  
“toObjectTypeId”: “2-1137866”,  
“name”: “metro\_to\_contact”,  
“cardinality”: “ONE\_TO\_MANY”,  
“inverseCardinality”: “ONE\_TO\_MANY”,  
“id”: “32”,  
“createdAt”: null,  
“updatedAt”: null  
}

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [November 4, 2020, 7:41pm UTC](https://community.hubspot.com/t/change-custom-object-association-cardinality/27511/2 "2020-11-04T19:41:07Z")

</div>

@JeffBantz ,

Thanks for adding the post. This was actually removed from the documentation as the **cardinality** for custom objects will work using the API, but it breaks the UI. Unsure on the timing of that fix, but when it is fixed, it will be brought back to the docs.

---

<div class="post-metadata">

**Author:** ![rbharris1](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/rbharris1/32/65657_2.png) [@rbharris1](https://community.hubspot.com/u/rbharris1)\
**Post date:** [December 17, 2020, 8:54pm UTC](https://community.hubspot.com/t/change-custom-object-association-cardinality/27511/3 "2020-12-17T20:54:05Z")

</div>

Any update on this functionality?

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [December 18, 2020, 3:07pm UTC](https://community.hubspot.com/t/change-custom-object-association-cardinality/27511/4 "2020-12-18T15:07:00Z")

</div>

@rbharris1 , not yet

---

<div class="post-metadata">

**Author:** ![JVidal7](https://avatars.discourse-cdn.com/v4/letter/j/e274bd/32.png) [@JVidal7](https://community.hubspot.com/u/JVidal7)\
**Post date:** [July 18, 2022, 3:49pm UTC](https://community.hubspot.com/t/change-custom-object-association-cardinality/27511/5 "2022-07-18T15:49:49Z")

</div>

Hi @dennisedson - Any updates about this? It’s been almost 2yrs now and I’m having the same situation: need to change a cardinality between custom objects from

```lia-code-sample
{
 "fromObjectTypeId": "0-1",
 "toObjectTypeId": "2-7700353",
 "name": "loan_officer_to_contact",
 "cardinality": "ONE_TO_MANY",
 "inverseCardinality": "ONE_TO_MANY",
 "id": "50",
 "createdAt": null,
 "updatedAt": null
 },
 {
 "fromObjectTypeId": "2-7700353",
 "toObjectTypeId": "0-1",
 "name": "loan_officer_to_contact",
 "cardinality": "ONE_TO_MANY",
 "inverseCardinality": "ONE_TO_MANY",
 "id": "49",
 "createdAt": null,
 "updatedAt": null
 }

```

to:

```lia-code-sample
{
 "fromObjectTypeId": "0-1",
 "toObjectTypeId": "2-7700353",
 "name": "contact_to_loan_officer",
 "cardinality": "ONE_TO_ONE",
 "inverseCardinality": "ONE_TO_MANY",
 "id": "50",
 "createdAt": null,
 "updatedAt": null
 },
 {
 "fromObjectTypeId": "2-7700353",
 "toObjectTypeId": "0-1",
 "name": "loan_officer_to_contact",
 "cardinality": "ONE_TO_MANY",
 "inverseCardinality": "ONE_TO_ONE",
 "id": "49",
 "createdAt": null,
 "updatedAt": null
 }

```

Would you please advise?

Thanks,

Julian

---

<div class="post-metadata">

**Author:** ![RCasey90](https://avatars.discourse-cdn.com/v4/letter/r/a87d85/32.png) [@RCasey90](https://community.hubspot.com/u/RCasey90)\
**Post date:** [October 31, 2023, 5:22pm UTC](https://community.hubspot.com/t/change-custom-object-association-cardinality/27511/6 "2023-10-31T17:22:59Z")

</div>

any update on this? It seems the cardinality is broken.  
Adding a one-to-many from x to y currently also creates a one-to-many from y to x. That’s broken and sadly unusable. the consequence is that our sales people are slowly making hubspot data worse and worse over the years.

does anyone have a workable alternative?

---

<div class="post-metadata">

**Author:** ![Benatt](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/benatt/32/38114_2.png) [@Benatt](https://community.hubspot.com/u/Benatt)\
**Post date:** [February 17, 2021, 5:16pm UTC](https://community.hubspot.com/t/change-custom-object-association-cardinality/27511/7 "2021-02-17T17:16:43Z")

</div>

Any update on this ?

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [February 18, 2021, 3:29pm UTC](https://community.hubspot.com/t/change-custom-object-association-cardinality/27511/8 "2021-02-18T15:29:30Z")

</div>

@Benatt not yet 😥

---

<div class="post-metadata">

**Author:** ![JeffBantz](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jeffbantz/32/43872_2.png) [@JeffBantz](https://community.hubspot.com/u/JeffBantz)\
**Post date:** [March 26, 2021, 2:31pm UTC](https://community.hubspot.com/t/change-custom-object-association-cardinality/27511/9 "2021-03-26T14:31:23Z")

</div>

Seems that this is pretty critical functionality for those of us wanting to implement Custom Objects.

Without the UI support to limit a selection to a one-to-one it’s going to limit our ability to go where we want to go.

Any word on someone escalating this as a critical need?

---

<div class="post-metadata">

**Author:** ![chris\_p\_lukes](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/chris_p_lukes/32/30597_2.png) [@chris\_p\_lukes](https://community.hubspot.com/u/chris_p_lukes)\
**Post date:** [May 14, 2021, 4:55pm UTC](https://community.hubspot.com/t/change-custom-object-association-cardinality/27511/10 "2021-05-14T16:55:11Z")

</div>

@dennisedson I’ve been starting to implement some custom objects with cardinality, mostly with ONE\_TO\_MANY in one direction, but ONE\_TO\_ONE in the other (cardinality vs. inverseCardinality), rather than strict ONE\_TO\_ONE bidirectionally.  
**What exactly is “broken” with the UI?** From my testing so far, it seems to have some odd UX behaviors (e.g., in some cases adding a second association of a type where only one should be allowed appears like you are adding both, but may just _replace_ the previous association; unclear error messaging in some cases where a save fails; etc.), but generally the cardinality “rules” seem to be enforced as expected…

Wondering if there is any reason I should avoid using custom object associations with modified cardinality (i.e., not ONE\_TO\_MANY in both directions as is the default) at this point, or if HubSpot is just trying to keep this functionality out of the docs until more refined.

---

<div class="post-metadata">

**Author:** ![rc1](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/rc1/32/98942_2.png) [@rc1](https://community.hubspot.com/u/rc1)\
**Post date:** [April 13, 2022, 1:27am UTC](https://community.hubspot.com/t/change-custom-object-association-cardinality/27511/11 "2022-04-13T01:27:36Z")

</div>

Hi Chris,  
Could you share how you were able to create the cardinality correctly via API so that it’s only one-to-many in one direction, and not both?

---

<div class="post-metadata">

**Author:** ![arlogilbert](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/arlogilbert/32/65470_2.png) [@arlogilbert](https://community.hubspot.com/u/arlogilbert)\
**Post date:** [November 20, 2021, 3:46am UTC](https://community.hubspot.com/t/change-custom-object-association-cardinality/27511/12 "2021-11-20T03:46:43Z")

</div>

I’m in the opposite boat. We did in fact implement this before they removed the API mechanism for doing this and it works fine… but now we need to modify the cardinality that is one\_to\_one to become one\_to\_many… and it seems that it may not be possible… Somehow we’re stuck in limbo because we were early adopters of custom objects 😞

---

<div class="post-metadata">

**Author:** ![JesusR](https://avatars.discourse-cdn.com/v4/letter/j/8c91f0/32.png) [@JesusR](https://community.hubspot.com/u/JesusR)\
**Post date:** [February 18, 2022, 9:39pm UTC](https://community.hubspot.com/t/change-custom-object-association-cardinality/27511/13 "2022-02-18T21:39:19Z")

</div>

Hi, i’m looking to update an association definition to change association cardinality between contacts and a custom objects, is this something that’s possible or do i need to recreate the association definitions?, because in the custom objects api i only see endpoints to delete associations and to create them but not to update.

Not sure if this is possible in associations api v4, i see an endpoint to update the definitions but there’s not much information there.

Thank you very much in advance, any help would be very appreciated!

---

<div class="post-metadata">

**Author:** ![rc1](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/rc1/32/98942_2.png) [@rc1](https://community.hubspot.com/u/rc1)\
**Post date:** [April 13, 2022, 1:26am UTC](https://community.hubspot.com/t/change-custom-object-association-cardinality/27511/14 "2022-04-13T01:26:04Z")

</div>

Any update on this? were really do want a one-to-many in one direction only.

---

<div class="post-metadata">

**Author:** ![khookguy](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/khookguy/32/82803_2.png) [@khookguy](https://community.hubspot.com/u/khookguy)\
**Post date:** [May 21, 2022, 11:28pm UTC](https://community.hubspot.com/t/change-custom-object-association-cardinality/27511/15 "2022-05-21T23:28:33Z")

</div>

Any update here? I’d like to create associations that are 1-1 in the UI. But that seems impossible.

---

<div class="post-metadata">

**Author:** ![Micole](https://avatars.discourse-cdn.com/v4/letter/m/c5a1d2/32.png) [@Micole](https://community.hubspot.com/u/Micole)\
**Post date:** [December 14, 2022, 8:46am UTC](https://community.hubspot.com/t/change-custom-object-association-cardinality/27511/16 "2022-12-14T08:46:47Z")

</div>

Any updates on this? we need to change cardinality, doesnt matter if its in UI or API but deffinitely needed.

---

<div class="post-metadata">

**Author:** ![BradySheridan](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/bradysheridan/32/195853_2.png) [@BradySheridan](https://community.hubspot.com/u/BradySheridan)\
**Post date:** [May 24, 2023, 9:12pm UTC](https://community.hubspot.com/t/change-custom-object-association-cardinality/27511/17 "2023-05-24T21:12:40Z")

</div>

+1 on this

We’re beginning to implement custom objects and various associations via custom code workflows. Having the ability to set cardinality when creating associations would be super useful.

---

<div class="post-metadata">

**Author:** ![ArdenM](https://avatars.discourse-cdn.com/v4/letter/a/dc4da7/32.png) [@ArdenM](https://community.hubspot.com/u/ArdenM)\
**Post date:** [November 3, 2023, 6:25pm UTC](https://community.hubspot.com/t/change-custom-object-association-cardinality/27511/18 "2023-11-03T18:25:48Z")

</div>

It’s been three years since this documentation was just _removed_ and there hasn’t been any kind of movement that can be seen here. Even if this causes UI issues, wouldn’t it be better to just include it in the documentation with a warning so that there’s not just this floating gap?

---

<div class="post-metadata">

**Author:** ![JTBuys](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/jtbuys/32/62318_2.png) [@JTBuys](https://community.hubspot.com/u/JTBuys)\
**Post date:** [November 3, 2023, 6:57pm UTC](https://community.hubspot.com/t/change-custom-object-association-cardinality/27511/19 "2023-11-03T18:57:38Z")

</div>

If you have a pro+ hub you can request access to a private beta that provides this functionality from the Custom Object wizard. I agree that the documentation should still be updated. But, this is the most movement I’ve seen on this yet.

---

<div class="post-metadata">

**Author:** ![ArdenM](https://avatars.discourse-cdn.com/v4/letter/a/dc4da7/32.png) [@ArdenM](https://community.hubspot.com/u/ArdenM)\
**Post date:** [November 3, 2023, 7:30pm UTC](https://community.hubspot.com/t/change-custom-object-association-cardinality/27511/20 "2023-11-03T19:30:03Z")

</div>

You are an absolute legend, thank you so much for flagging this!

[Next page](https://community.hubspot.com/t/change-custom-object-association-cardinality/27511.md?page=2)
