# Locations Query

**URL:** <https://community.shiphero.com/t/locations-query/1326>\
**Category:** Feedback\
**Created:** [May 25, 2021, 5:51pm UTC](https://community.shiphero.com/t/locations-query/1326 "2021-05-25T17:51:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![JustinAnchored](https://avatars.discourse-cdn.com/v4/letter/j/7cd45c/32.png) [@JustinAnchored](https://community.shiphero.com/u/JustinAnchored)\
**Post date:** [May 25, 2021, 5:51pm UTC](https://community.shiphero.com/t/locations-query/1326/1 "2021-05-25T17:51:21Z")

</div>

Would there be a way to add to the Locations Query in DS to tell us what’s in the Location?  
Example :

> Blockquote  
> query {  
> location(id: "QMXXXXXXX) {  
> request\_id  
> complexity  
> data {  
> legacy\_id  
> name  
> warehouse\_products {  
> edges{  
> node{  
> sku  
> quantity  
> name  
> }  
> }  
> }  
> }  
> }  
> }

---

<div class="post-metadata">

**Author:** ![tomasw](https://sea2.discourse-cdn.com/flex020/user_avatar/community.shiphero.com/tomasw/32/248_2.png) [@tomasw](https://community.shiphero.com/u/tomasw)\
**Post date:** [May 27, 2021, 5:36pm UTC](https://community.shiphero.com/t/locations-query/1326/2 "2021-05-27T17:36:58Z")

</div>

Hi @JustinAnchored!  
Unfortunately not with that Query, you would have to do

- `warehouse_products` (and see what location\_id’s that product has)
- [Inventory Snapshot](https://developer.shiphero.com/inventory-snapshot/)

Let me know if this doesn’t work. We could also place a Feature Request for this to be added as well.  
Thanks in advance!  
Tom

---

<div class="post-metadata">

**Author:** ![JustinAnchored](https://avatars.discourse-cdn.com/v4/letter/j/7cd45c/32.png) [@JustinAnchored](https://community.shiphero.com/u/JustinAnchored)\
**Post date:** [May 31, 2021, 6:40pm UTC](https://community.shiphero.com/t/locations-query/1326/3 "2021-05-31T18:40:48Z")

</div>

> [@tomasw](#):
>
> (and see what location\_id’s that product has)

I have got the inventory for specific products no problem.  
Snapshot sends inventory as a report if I remember correctly.

Im looking to get this data electronically, so we can do two different operations.  
[https://app.shiphero.com/dashboard/product-locations](https://app.shiphero.com/dashboard/product-locations)

 ![image](https://us1.discourse-cdn.com/flex020/uploads/shiphero/original/1X/8720cc3bfdb1a662736df2ba347c365bb5de2a25.png)

I want to be able to lookup by location what’s in the location.  
secondly, I would love to be able to pull up all empty locations.  
This could also help with having an auto report being generated with inconstancies.
