# Get warehouses for products

**URL:** <https://developer-forum.veeqo.com/t/get-warehouses-for-products/91>\
**Category:** API Queries (How To)\
**Created:** [January 18, 2018, 12:20pm UTC](https://developer-forum.veeqo.com/t/get-warehouses-for-products/91 "2018-01-18T12:20:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![kanterukb](https://avatars.discourse-cdn.com/v4/letter/k/FF6200/32.png) [@kanterukb](https://developer-forum.veeqo.com/u/kanterukb)\
**Post date:** [January 18, 2018, 12:20pm UTC](https://developer-forum.veeqo.com/t/get-warehouses-for-products/91/1 "2018-01-18T12:20:15Z")

</div>

Hi all

I’m trying to get warehouses for products using [https://api.veeqo.com/products](https://api.veeqo.com/products) method  
In result I can see only one default warehouse for each product.  
Is it possible to get products with all warehouses info or get products of particular warehouse?

Thanks

---

<div class="post-metadata">

**Author:** ![phil](https://yyz1.discourse-cdn.com/flex033/user_avatar/developer-forum.veeqo.com/phil/32/43_2.png) [@phil](https://developer-forum.veeqo.com/u/phil)\
**Post date:** [January 18, 2018, 12:32pm UTC](https://developer-forum.veeqo.com/t/get-warehouses-for-products/91/2 "2018-01-18T12:32:01Z")

</div>

Hey,

If you want to get all products you can send the query string as `?warehouse_id=:id` the overall request URL would look like `https://api.veeqo.com/products?warehouse_id=XXXXX`

In the overall product collection response you should see any warehouse that has stock of a product.

Does this help?

Thanks

---

<div class="post-metadata">

**Author:** ![kanterukb](https://avatars.discourse-cdn.com/v4/letter/k/FF6200/32.png) [@kanterukb](https://developer-forum.veeqo.com/u/kanterukb)\
**Post date:** [January 18, 2018, 12:38pm UTC](https://developer-forum.veeqo.com/t/get-warehouses-for-products/91/3 "2018-01-18T12:38:31Z")

</div>

hm, I tried to add this uri param but it didn’t work  
now it works, guess I specified wrong api key

Thanks!
