# Update a property

**URL:** <https://community.hubspot.com/t/update-a-property/86124>\
**Category:** APIs & Integrations\
**Tags:** contacts\
**Created:** [July 25, 2023, 10:18pm UTC](https://community.hubspot.com/t/update-a-property/86124 "2023-07-25T22:18:11Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![likwid](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/likwid/32/58551_2.png) [@likwid](https://community.hubspot.com/u/likwid)\
**Post date:** [July 25, 2023, 10:18pm UTC](https://community.hubspot.com/t/update-a-property/86124/1 "2023-07-25T22:18:11Z")

</div>

I tried to update a contact property called Campaign ID and all of the saved ID’s were overwritten by the new update. Is there a way to update properties using the properties API without overwriting them all. I want to add to the dropdown list.

Thanks

---

<div class="post-metadata">

**Author:** ![coldrickjack](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/coldrickjack/32/6684_2.png) [@coldrickjack](https://community.hubspot.com/u/coldrickjack)\
**Post date:** [July 26, 2023, 11:01am UTC](https://community.hubspot.com/t/update-a-property/86124/2 "2023-07-26T11:01:26Z")

</div>

Hey @likwid,

I figured I’d chime in on this as I responded to your [previous question](https://community.hubspot.com/t5/APIs-Integrations/Update-Contact-Object-Campaign-ID/td-p/822167) that I feel is somwhat related. 😊 To confirm, you are hoping to append values to a dropdown property within HubSpot?

If that is the case it’s done using the [Properties API](https://developers.hubspot.com/docs/api/crm/properties). First you must first retrieve the property in question. This is done by making a request like this: _GET crm/v3/properties/{objectType}/{propertyName}_. This will return an array called “options” in the response, similar to the below. These are the existing options within the dropdown. In this instance “001” and “002”.

```lia-code-sample
GET https://api.hubapi.com/crm/v3/properties/{objectType}/{propertyName}
RESPONSE:
"options": [
 {
 "label": "001",
 "value": "001",
 "displayOrder": 0,
 "hidden": false
 },
 {
 "label": "002",
 "value": "002",
 "displayOrder": 1,
 "hidden": false
 }
 ]

```

Next, to append new values we make a request like this - notice how we’ve used the options above but also added a new option for “003”.

```lia-code-sample
PATCH https://api.hubapi.com/crm/v3/properties/{objectType}/{propertyName}
BODY:

{
 "options": [
 {
 "label": "001",
 "value": "001"
 },
 {
 "label": "002",
 "value": "002"
 },
 {
 "label": "003",
 "value": "003"
 }
 ]
}

```

The result is the existing property being updated with the new value. It is expected behaviour that all values would be overwritten if we made a similar request to the above but simply just included “003”.

I hope this helps!

---

<div class="post-metadata">

**Author:** ![likwid](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/likwid/32/58551_2.png) [@likwid](https://community.hubspot.com/u/likwid)\
**Post date:** [July 26, 2023, 7:33pm UTC](https://community.hubspot.com/t/update-a-property/86124/3 "2023-07-26T19:33:29Z")

</div>

Hi @coldrickjack ,

Thank you for answering all of my questions.

You are correct I am To confirm, hoping to append values to a dropdown property within HubSpot.

The property already exsists with about 200 or so values in the dropdown. I need to be able to append a new value submit by a form using the properties api. The only way to do this is send back all 200 or so plus the new one at the end?

Thanks

---

<div class="post-metadata">

**Author:** ![Pietro-Poli](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/pietro-poli/32/76836_2.png) [@Pietro-Poli](https://community.hubspot.com/u/Pietro-Poli)\
**Post date:** [September 10, 2024, 8:56am UTC](https://community.hubspot.com/t/update-a-property/86124/4 "2024-09-10T08:56:46Z")

</div>

Hi @likwid have you found a solution?
