# What's api to update CRM object?

**URL:** <https://community.hubspot.com/t/whats-api-to-update-crm-object/29616>\
**Category:** APIs & Integrations\
**Tags:** contacts\
**Created:** [December 31, 2020, 12:40pm UTC](https://community.hubspot.com/t/whats-api-to-update-crm-object/29616 "2020-12-31T12:40:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SDhamankar](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/sdhamankar/32/22074_2.png) [@SDhamankar](https://community.hubspot.com/u/SDhamankar)\
**Post date:** [December 31, 2020, 12:40pm UTC](https://community.hubspot.com/t/whats-api-to-update-crm-object/29616/1 "2020-12-31T12:40:23Z")

</div>

Using below api I can create a new object instance but not sure how to update. Tried using PUT/PATCH but that doesn’t work.  
**POST [https://api.hubapi.com/crm/v3/objects/p99688696\_car?portalId=99688696](https://api.hubapi.com/crm/v3/objects/p99688696_car?portalId=99688696)**

---

<div class="post-metadata">

**Author:** ![dennisedson](https://d10pqhm3lwygmk.cloudfront.net/user_avatar/community.hubspot.com/dennisedson/32/28044_2.png) [@dennisedson](https://community.hubspot.com/u/dennisedson)\
**Post date:** [December 31, 2020, 4:07pm UTC](https://community.hubspot.com/t/whats-api-to-update-crm-object/29616/2 "2020-12-31T16:07:38Z")

</div>

Hey @SDhamankar !

Welcome to the Community!

You will use patch. This is from [the docs](https://developers.hubspot.com/docs/api/crm/crm-custom-objects?_ga=2.258178563.809749231.1609180719-1273358196.1598626193)

**PATCH** `/crm/v3/objects/{objectType}/{objectId}`

Or, assuming that **p99688696** is the object type id and **car** is the object a more drawn out example would be

`https://api.hubapi.com/crm/v3/objects/p99688696/car?hapikey=YOUR_HUBSPOT_API_KEY​`
