# Update custom fields in deals

**URL:** <https://community.hubspot.com/t/update-custom-fields-in-deals/89168>\
**Category:** APIs & Integrations\
**Tags:** object\
**Created:** [September 7, 2023, 1:33pm UTC](https://community.hubspot.com/t/update-custom-fields-in-deals/89168 "2023-09-07T13:33:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [September 7, 2023, 1:33pm UTC](https://community.hubspot.com/t/update-custom-fields-in-deals/89168/1 "2023-09-07T13:33:54Z")

</div>

Hello everyone,

I’d like to know whether it is possible to update custom fields/properties using the API? Seems like I can’t find a way to make it work. Simply using it like a default property doesn’t seem to work.

Note: I am trying to get it to work using Postman, no SDK.

```lia-code-sample
{
 "status": "error",
 "message": "No properties found to update, please provide at least one.",
 "correlationId": "778a9d6a-a902-4b34-aa2e-696fe1cc710e",
 "context": {
 "properties": [
 "{}"
 ]
 },
 "category": "VALIDATION_ERROR"
}

```

Does anyone have an idea?

Thank you!

---

<div class="post-metadata">

**Author:** ![zach\_threadint](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/zach_threadint/32/46318_2.png) [@zach\_threadint](https://community.hubspot.com/u/zach_threadint)\
**Post date:** [September 8, 2023, 5:46am UTC](https://community.hubspot.com/t/update-custom-fields-in-deals/89168/2 "2023-09-08T05:46:08Z")

</div>

Hi @Anonymous 👋

Just to confirm, which of the 2 cases below are you trying to achieve?

1. Update the **value** of a custom property on one/many record(s). For example, on Deal record XYZ, you’re trying to set “Custom Property X” to “Example Value”.
2. Update information relating to a custom property itself. For example, you’re trying to update the property label and/or description of “Custom Property X”.

Something else that would allow me to assist here is your API request method and URL

(e.g. PATCH [https://api.hubapi.com/crm/v3/properties/DEAL/custom\_property\_x](https://api.hubapi.com/crm/v3/properties/DEAL/custom%5C_property%5C_x))

and response status code

(e.g. 404)

Looking forward to hearing from you soon.

---

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [September 8, 2023, 6:17am UTC](https://community.hubspot.com/t/update-custom-fields-in-deals/89168/3 "2023-09-08T06:17:30Z")

</div>

Hello [@zach\_threadint](https://community.hubspot.com/t5/user/viewprofilepage/user-id/324811)

thank you for your reply and sorry that I wasn’t clear enough on that. That would be case 1: trying to update the value of a custom property on one/many deal record(s).

Many thanks

---

<div class="post-metadata">

**Author:** ![zach\_threadint](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/zach_threadint/32/46318_2.png) [@zach\_threadint](https://community.hubspot.com/u/zach_threadint)\
**Post date:** [September 8, 2023, 6:57am UTC](https://community.hubspot.com/t/update-custom-fields-in-deals/89168/4 "2023-09-08T06:57:04Z")

</div>

Hi @Anonymous 👋

Thanks for clarifying. In that case, try replicating the following request in Postman:

##### Update Deal

**Method** : PATCH

**Endpoint** : [https://api.hubapi.com/crm/v3/objects/DEAL/\*\*RECORD\_ID](https://api.hubapi.com/crm/v3/objects/DEAL/**RECORD%5C_ID)\*\*

- Where **RECORD\_ID** is replaced with the relevant Deal record ID

**Headers**

:

- Content-Type: application/json
- Authorization: Bearer **ACCESS\_TOKEN**
  - Where **ACCESS\_TOKEN** is replaced with your API authentication credentials (likely either a Private App or OAuth Access Token)

**Body** :

Set your Body type to “raw”, then select “JSON” from the dropdown

```lia-code-sample
{
 "properties": {
 "your_custom_property_name": "example value"
 }
}

```

I hope this proves useful. Please let me know if you have any follow-up questions.

---

<div class="post-metadata">

**Author:** ![system](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/system/32/124_2.png) [@system](https://community.hubspot.com/u/system)\
**Post date:** [September 8, 2023, 7:03am UTC](https://community.hubspot.com/t/update-custom-fields-in-deals/89168/5 "2023-09-08T07:03:01Z")

</div>

Hello [@zach\_threadint](https://community.hubspot.com/t5/user/viewprofilepage/user-id/324811)

thank you a lot. This worked for me!

Have a great day!
