# How do you create/update a Listings object?

**URL:** <https://community.hubspot.com/t/how-do-you-create-update-a-listings-object/124876>\
**Category:** APIs & Integrations\
**Tags:** sdk\
**Created:** [January 27, 2025, 11:31pm UTC](https://community.hubspot.com/t/how-do-you-create-update-a-listings-object/124876 "2025-01-27T23:31:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![MNg56](https://avatars.discourse-cdn.com/v4/letter/m/977dab/32.png) [@MNg56](https://community.hubspot.com/u/MNg56)\
**Post date:** [January 27, 2025, 11:31pm UTC](https://community.hubspot.com/t/how-do-you-create-update-a-listings-object/124876/1 "2025-01-27T23:31:53Z")

</div>

Does anyone know how to search/create/update a Listings object via the API?

I’m referencing the npm package -

[https://www.npmjs.com/package/@hubspot/api-client](https://www.npmjs.com/package/@hubspot/api-client)

However there is no reference to the listings object itself in the API, i.e. there’s no crm.listings.

I’ve also tried to reference the object using the objects API, i.e. crm.objects.basicApi.create(‘listings’, {}); but get an error “Unable to infer object type from: listings”

---

<div class="post-metadata">

**Author:** ![MNg56](https://avatars.discourse-cdn.com/v4/letter/m/977dab/32.png) [@MNg56](https://community.hubspot.com/u/MNg56)\
**Post date:** [January 28, 2025, 12:16am UTC](https://community.hubspot.com/t/how-do-you-create-update-a-listings-object/124876/2 "2025-01-28T00:16:10Z")

</div>

So it looks like you need to reference the internal object id in order to interact with the listings object…

e.g. to search:

crm.objects.searchApi.doSearch(‘X-XXX’, {});  
where X-XXX is the object id referenced when viewing the listings object in your account, i.e.  
[https://app-eu1.hubspot.com/object-type-settings/](https://app-eu1.hubspot.com/object-type-settings/){account number}/object/X-XXX
