# Need companies PATCH API Example

**URL:** <https://community.hubspot.com/t/need-companies-patch-api-example/70063>\
**Category:** APIs & Integrations\
**Tags:** companies\
**Created:** [November 28, 2022, 11:54am UTC](https://community.hubspot.com/t/need-companies-patch-api-example/70063 "2022-11-28T11:54:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![skarbhari](https://avatars.discourse-cdn.com/v4/letter/s/7cd45c/32.png) [@skarbhari](https://community.hubspot.com/u/skarbhari)\
**Post date:** [November 28, 2022, 11:54am UTC](https://community.hubspot.com/t/need-companies-patch-api-example/70063/1 "2022-11-28T11:54:21Z")

</div>

Hi Support,

I am using companies PATCH api and it will gives me an error like this:

“{“status”:“error”,“message”:“resource not found”,“correlationId”:“bcc87d85-2ec6-4048-870b-0d55be51ac03”}”

I am going to attach my API call as well with request json. Below is my API call URL, you will find request json in attachment:"  
URL: [https://api.hubapi.com/crm/v3/objects/companies/10189869688](https://api.hubapi.com/crm/v3/objects/companies/10189869688)

Please help me about this.  
Thank you,

 ![hubspot_company_PATCH.png](https://d2qpr2jzcazej7.cloudfront.net/original/2X/1/1a53da7b1ff88b98396595e6814d4941f49eeecf.png)

Smit Karbhari

---

<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:** [November 30, 2022, 6:24pm UTC](https://community.hubspot.com/t/need-companies-patch-api-example/70063/2 "2022-11-30T18:24:16Z")

</div>

Hey, @skarbhari 👋 Can we try a simplified test? We’ll use the example for this endpoint and update only one company property.

- [Link](https://developers.hubspot.com/docs/api/crm/companies)

- Endpoint **PATCH** `/crm/v3/objects/companies/{companyId}`

- Request

- Response

If you use the above example and test only updating State, will it work as expected?

Best,

Jaycee
