# Deals API - Possible to set/update Priority Levels??

**URL:** <https://community.hubspot.com/t/deals-api-possible-to-set-update-priority-levels/76698>\
**Category:** APIs & Integrations\
**Tags:** object\
**Created:** [March 8, 2023, 2:40am UTC](https://community.hubspot.com/t/deals-api-possible-to-set-update-priority-levels/76698 "2023-03-08T02:40:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![MC\_Kathy](https://avatars.discourse-cdn.com/v4/letter/m/73ab20/32.png) [@MC\_Kathy](https://community.hubspot.com/u/MC_Kathy)\
**Post date:** [March 8, 2023, 2:40am UTC](https://community.hubspot.com/t/deals-api-possible-to-set-update-priority-levels/76698/1 "2023-03-08T02:40:27Z")

</div>

Hi there,  
Just wondering if there is any way to set the priority level when creating a deal with an API call? I’ve noticed this is possible with tasks, but doesn’t appear to be possible with deals ?

If this is not possible, is it possible to update (patch) a deal after it’s created, and update the priority level property on the deal?

Thanks,  
Kathy.

---

<div class="post-metadata">

**Author:** ![MC\_Kathy](https://avatars.discourse-cdn.com/v4/letter/m/73ab20/32.png) [@MC\_Kathy](https://community.hubspot.com/u/MC_Kathy)\
**Post date:** [March 8, 2023, 2:58am UTC](https://community.hubspot.com/t/deals-api-possible-to-set-update-priority-levels/76698/2 "2023-03-08T02:58:49Z")

</div>

I’ve figured it out for anyone in the future having the same question..  
When creating a new deal, add to following property to your request payload:

“hs\_priority” : “{priority level lower case}”

```lia-code-sample
"properties": {
 "amount": "",
 "closedate": "",
 "dealname": "Deal Name",
 "pipeline": "default",
 "dealstage": "appointmentscheduled",
 "hs_priority": "high"
}

```

---

<div class="post-metadata">

**Author:** ![EWood](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/ewood/32/91285_2.png) [@EWood](https://community.hubspot.com/u/EWood)\
**Post date:** [March 8, 2023, 5:15pm UTC](https://community.hubspot.com/t/deals-api-possible-to-set-update-priority-levels/76698/3 "2023-03-08T17:15:24Z")

</div>

Thanks for sharing your solution, [@MC\_Kathy](https://community.hubspot.com/t5/user/viewprofilepage/user-id/532878)!
