# List all available locations

**URL:** <https://community.shiphero.com/t/list-all-available-locations/2962>\
**Category:** GraphQL API\
**Created:** [June 27, 2024, 8:34am UTC](https://community.shiphero.com/t/list-all-available-locations/2962 "2024-06-27T08:34:29Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![saif\_storage](https://avatars.discourse-cdn.com/v4/letter/s/3ab097/32.png) [@saif\_storage](https://community.shiphero.com/u/saif_storage)\
**Post date:** [June 27, 2024, 8:34am UTC](https://community.shiphero.com/t/list-all-available-locations/2962/1 "2024-06-27T08:34:29Z")

</div>

we want to update the inventory to specific location in shiphero. we can pass the parameter location\_id but how do we get all the available locations in our account. Could not find any API for the same.  
Can you guide please?  
Thanks and regards

---

<div class="post-metadata">

**Author:** ![tomasfd](https://avatars.discourse-cdn.com/v4/letter/t/5daacb/32.png) [@tomasfd](https://community.shiphero.com/u/tomasfd)\
**Post date:** [June 27, 2024, 8:45pm UTC](https://community.shiphero.com/t/list-all-available-locations/2962/2 "2024-06-27T20:45:39Z")

</div>

Hello @saif_storage!

Yo get locations you have available the `locations` query: [https://developer.shiphero.com/wp-content/uploads/spectaql/#query-locations](https://developer.shiphero.com/wp-content/uploads/spectaql/#query-locations)

The inventory snapshot also returns information on locations per SKU: [Inventory-Snapshot – Developer Resources | ShipHero](https://developer.shiphero.com/inventory-snapshot/)

Finally, the `warehouse_products` object also has a connection to the `locations` to pull locations for that SKU in that warehouse: [https://developer.shiphero.com/wp-content/uploads/spectaql/#definition-WarehouseProduct](https://developer.shiphero.com/wp-content/uploads/spectaql/#definition-WarehouseProduct)

Have a great day!

---

<div class="post-metadata">

**Author:** ![saif\_storage](https://avatars.discourse-cdn.com/v4/letter/s/3ab097/32.png) [@saif\_storage](https://community.shiphero.com/u/saif_storage)\
**Post date:** [June 29, 2024, 7:32am UTC](https://community.shiphero.com/t/list-all-available-locations/2962/3 "2024-06-29T07:32:19Z")

</div>

Thank you. I am checking, will get back if there is some issue
