# How to update custom object property values using node.js

**URL:** <https://community.hubspot.com/t/how-to-update-custom-object-property-values-using-node-js/73613>\
**Category:** APIs & Integrations\
**Created:** [January 24, 2023, 3:45pm UTC](https://community.hubspot.com/t/how-to-update-custom-object-property-values-using-node-js/73613 "2023-01-24T15:45:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![AAdamonis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/aadamonis/32/71231_2.png) [@AAdamonis](https://community.hubspot.com/u/AAdamonis)\
**Post date:** [January 24, 2023, 3:45pm UTC](https://community.hubspot.com/t/how-to-update-custom-object-property-values-using-node-js/73613/1 "2023-01-24T15:45:02Z")

</div>

Can anyone point me in the right direction on how to update a custom objects property values in node.js? Currently struggling with this.

---

<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:** [January 25, 2023, 6:06pm UTC](https://community.hubspot.com/t/how-to-update-custom-object-property-values-using-node-js/73613/2 "2023-01-25T18:06:15Z")

</div>

Hi, 👋 Can you provide more details? An example request and response is always helpful to the community.

Additional questions:

- Can you get the Node example to update this property or another custom property you are testing with? Update a property — PATCH /crm/v3/properties/{objectType}/{propertyName}
- By update values, are you editing the Label? Adding more options? Attempting to edit the _internal value_?

Thanks for the additional information!

Best,

Jaycee

---

<div class="post-metadata">

**Author:** ![AAdamonis](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/aadamonis/32/71231_2.png) [@AAdamonis](https://community.hubspot.com/u/AAdamonis)\
**Post date:** [January 25, 2023, 8:25pm UTC](https://community.hubspot.com/t/how-to-update-custom-object-property-values-using-node-js/73613/3 "2023-01-25T20:25:19Z")

</div>

Thank you for the response. I did finally get it figured out today. I was trying to set a value into the property for a specific instance, not update the property itself. I think my problem was that I was sending the body as a string instead of a json object. I used PATCH /crm/v3/objects/{objectTypeId}/{objectId}.
