# In the dashboard i dont see any items, but when i use the below API, then it brings me items

**URL:** <https://developer.squareup.com/forums/t/in-the-dashboard-i-dont-see-any-items-but-when-i-use-the-below-api-then-it-brings-me-items/20979>\
**Category:** Questions\
**Tags:** inventory-api\
**Created:** [February 7, 2025, 9:18pm UTC](https://developer.squareup.com/forums/t/in-the-dashboard-i-dont-see-any-items-but-when-i-use-the-below-api-then-it-brings-me-items/20979 "2025-02-07T21:18:36Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![pablo099](https://avatars.discourse-cdn.com/v4/letter/p/dfb087/32.png) [@pablo099](https://developer.squareup.com/forums/u/pablo099)\
**Post date:** [February 7, 2025, 9:18pm UTC](https://developer.squareup.com/forums/t/in-the-dashboard-i-dont-see-any-items-but-when-i-use-the-below-api-then-it-brings-me-items/20979/1 "2025-02-07T21:18:36Z")

</div>

I am using the below API and I can see that it brings 3 objects, but in the dashboard the location doesnt have items.

It seems to be a problem with some items that are appearing everywhere.

```auto
DEBUG:urllib3.connectionpool:https://connect.squareup.com:443 "POST /v2/inventory/counts/batch-retrieve HTTP/1.1" 200 271
DEBUG:app:Retrieved 3 inventory counts
DEBUG:app:Final inventory list: [{'catalog_object_id': '6QHOKNHMXRGXIBIIR3UHRTZJ', 'catalog_object_name': 'Biblias - B1001 - ', 'quantity': '0'}, {'catalog_object_id': 'KDCTEPPPLD7ETXGR4LSZBE2J', 'catalog_object_name': 'Biblias - B1003 - ', 'quantity': '0'}, {'catalog_object_id': 'OAZN4YTROXM54ZWP2QSFKQ5P', 'catalog_object_name': 'Biblias - B1002 - ', 'quantity': '0'}]
DEBUG:root:Square inventory response: [{'catalog_object_id': '6QHOKNHMXRGXIBIIR3UHRTZJ', 'catalog_object_name': 'Biblias - B1001 - ', 'quantity': '0'}, {'catalog_object_id': 'KDCTEPPPLD7ETXGR4LSZBE2J', 'catalog_object_name': 'Biblias - B1003 - ', 'quantity': '0'}, {'catalog_object_id': 'OAZN4YTROXM54ZWP2QSFKQ5P', 'catalog_object_name': 'Biblias - B1002 - ', 'quantity': '0'}]
INFO:root:Successfully prepared inventory list with 3 items

```

---

<div class="post-metadata">

**Author:** ![Square-Dev-AI](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/square-dev-ai/32/2513_2.png) [@Square-Dev-AI](https://developer.squareup.com/forums/u/Square-Dev-AI)\
**Post date:** [February 7, 2025, 9:18pm UTC](https://developer.squareup.com/forums/t/in-the-dashboard-i-dont-see-any-items-but-when-i-use-the-below-api-then-it-brings-me-items/20979/2 "2025-02-07T21:18:59Z")

</div>

👋 I’m Square Dev AI, here to help answer your question!  
Based on the information you’ve provided, the following documentation will help answer your question:

> **[Build and Manage a Simple Inventory](https://developer.squareup.com/docs/inventory-api/build-with-inventory)**
>
> Build inventory management solutions with the Square Inventory API.

> **[Inventory API](https://developer.squareup.com/docs/inventory-api/what-it-does)**
>
> Use the Square Inventory API to adjust inventory quantities and review inventory changes for products in a Square catalog.

> **Additional Documentation**
>
> [Retrieve Inventory Quantities](https://developer.squareup.com/docs/inventory-api/cookbook/retrieve-specific-instock-quantity)  
> [Inventory API: How It Works](https://developer.squareup.com/docs/inventory-api/how-it-works)  
> [Reconcile Inventory Count](https://developer.squareup.com/docs/inventory-api/cookbook/reconcile-computed-quantity)

If this documentation helped you find a solution, please check the box indicating that this reply solves the problem.  
Otherwise one of our Developer Advocates will provide additional assistance shortly.

---

<div class="post-metadata">

**Author:** ![Square-Dev-AI](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/square-dev-ai/32/2513_2.png) [@Square-Dev-AI](https://developer.squareup.com/forums/u/Square-Dev-AI)\
**Post date:** [February 7, 2025, 11:52pm UTC](https://developer.squareup.com/forums/t/in-the-dashboard-i-dont-see-any-items-but-when-i-use-the-below-api-then-it-brings-me-items/20979/3 "2025-02-07T23:52:23Z")

</div>

The Inventory API retrieves the inventory counts for item variations that are defined in your Square product catalog. The inventory count is the quantity of a particular item variation that is currently in stock. If you’re seeing items in the inventory count that are not visible in your dashboard, it could be because these items have an inventory count of zero.

In your debug log, it shows that the quantity for all three items ('Biblias - B1001 - ', 'Biblias - B1003 - ', 'Biblias - B1002 - ') is ‘0’. This means these items are currently out of stock. If an item variation’s quantity reaches zero, it might not be displayed in certain views in your dashboard, depending on your settings.

If you want to hide out-of-stock items in the API response, you would need to filter out items with a quantity of ‘0’ in your application code after you retrieve the inventory counts. The Inventory API itself does not provide a built-in way to exclude out-of-stock items.

_This answer was reviewed by @Bryan-Square._

---

<div class="post-metadata">

**Author:** ![pablo099](https://avatars.discourse-cdn.com/v4/letter/p/dfb087/32.png) [@pablo099](https://developer.squareup.com/forums/u/pablo099)\
**Post date:** [February 8, 2025, 12:11am UTC](https://developer.squareup.com/forums/t/in-the-dashboard-i-dont-see-any-items-but-when-i-use-the-below-api-then-it-brings-me-items/20979/4 "2025-02-08T00:11:36Z")

</div>

Thank you for your response. I really appreciate it.

In the locations that these items are appearing, it is not that the count is zero, it is that they are not allocated to that location at all.

This item, when i enter to edit it on the edit item page, in the dashboard, shows me that in the locations it has 2 locations only, but it appears in the API on all the locations.

It is not that the item count is zero, it is that the item is not at that location. Please let me know what you think, or what evidence I can provide you.

 ![Screenshot 2025-02-07 at 5.11.09 PM.png](https://global.discourse-cdn.com/square/original/2X/3/34ee62b6e3e19ddc629ef9dbda35018f58e2601c.png)

---

<div class="post-metadata">

**Author:** ![pablo099](https://avatars.discourse-cdn.com/v4/letter/p/dfb087/32.png) [@pablo099](https://developer.squareup.com/forums/u/pablo099)\
**Post date:** [February 8, 2025, 12:48am UTC](https://developer.squareup.com/forums/t/in-the-dashboard-i-dont-see-any-items-but-when-i-use-the-below-api-then-it-brings-me-items/20979/5 "2025-02-08T00:48:33Z")

</div>

To make my point more clear, let me show you the api inquiry for more than 2s location and it brings this item back. You will see that this item B1001 comes every time.

**Location 1**

```auto
NFO:root:Fetching inventory for location: L4QC03SS83XDA
DEBUG:app:Fetching inventory for location: L4QC03SS83XDA
DEBUG:app:Fetching catalog items...
DEBUG:urllib3.connectionpool:https://connect.squareup.com:443 "POST /v2/catalog/search-catalog-items HTTP/1.1" 200 None
INFO:app:Successfully retrieved 112 catalog items
DEBUG:app:Retrieved 112 catalog items
DEBUG:app:Created catalog map with 224 entries
DEBUG:urllib3.connectionpool:https://connect.squareup.com:443 "POST /v2/inventory/counts/batch-retrieve HTTP/1.1" 200 273
DEBUG:app:Retrieved 3 inventory counts
DEBUG:app:Final inventory list: [{'catalog_object_id': '6QHOKNHMXRGXIBIIR3UHRTZJ', 'catalog_object_name': 'Biblias - B1001 - ', 'quantity': '0'}, {'catalog_object_id': 'KDCTEPPPLD7ETXGR4LSZBE2J', 'catalog_object_name': 'Biblias - B1003 - ', 'quantity': '0'}, {'catalog_object_id': 'OAZN4YTROXM54ZWP2QSFKQ5P', 'catalog_object_name': 'Biblias - B1002 - ', 'quantity': '0'}]
DEBUG:root:Square inventory response: [{'catalog_object_id': '6QHOKNHMXRGXIBIIR3UHRTZJ', 'catalog_object_name': 'Biblias - B1001 - ', 'quantity': '0'}, {'catalog_object_id': 'KDCTEPPPLD7ETXGR4LSZBE2J', 'catalog_object_name': 'Biblias - B1003 - ', 'quantity': '0'}, {'catalog_object_id': 'OAZN4YTROXM54ZWP2QSFKQ5P', 'catalog_object_name': 'Biblias - B1002 - ', 'quantity': '0'}]
INFO:root:Successfully prepared inventory list with 3 items

```

**Location 2**

```auto
INFO:root:Fetching inventory for location: L4MHDD7K82A5W
DEBUG:app:Fetching inventory for location: L4MHDD7K82A5W
DEBUG:app:Fetching catalog items...
DEBUG:urllib3.connectionpool:https://connect.squareup.com:443 "POST /v2/catalog/search-catalog-items HTTP/1.1" 200 None
INFO:app:Successfully retrieved 112 catalog items
DEBUG:app:Retrieved 112 catalog items
DEBUG:app:Created catalog map with 224 entries
DEBUG:urllib3.connectionpool:https://connect.squareup.com:443 "POST /v2/inventory/counts/batch-retrieve HTTP/1.1" 200 271
DEBUG:app:Retrieved 3 inventory counts
DEBUG:app:Final inventory list: [{'catalog_object_id': '6QHOKNHMXRGXIBIIR3UHRTZJ', 'catalog_object_name': 'Biblias - B1001 - ', 'quantity': '0'}, {'catalog_object_id': 'KDCTEPPPLD7ETXGR4LSZBE2J', 'catalog_object_name': 'Biblias - B1003 - ', 'quantity': '0'}, {'catalog_object_id': 'OAZN4YTROXM54ZWP2QSFKQ5P', 'catalog_object_name': 'Biblias - B1002 - ', 'quantity': '0'}]
DEBUG:root:Square inventory response: [{'catalog_object_id': '6QHOKNHMXRGXIBIIR3UHRTZJ', 'catalog_object_name': 'Biblias - B1001 - ', 'quantity': '0'}, {'catalog_object_id': 'KDCTEPPPLD7ETXGR4LSZBE2J', 'catalog_object_name': 'Biblias - B1003 - ', 'quantity': '0'}, {'catalog_object_id': 'OAZN4YTROXM54ZWP2QSFKQ5P', 'catalog_object_name': 'Biblias - B1002 - ', 'quantity': '0'}]
INFO:root:Successfully prepared inventory list with 3 items

```

**Location 3**

````auto
INFO:root:Fetching inventory for location: L3Q8W2SVJPGN2
DEBUG:app:Fetching inventory for location: L3Q8W2SVJPGN2
DEBUG:app:Fetching catalog items...
DEBUG:urllib3.connectionpool:https://connect.squareup.com:443 "POST /v2/catalog/search-catalog-items HTTP/1.1" 200 None
INFO:app:Successfully retrieved 112 catalog items
DEBUG:app:Retrieved 112 catalog items
DEBUG:app:Created catalog map with 224 entries
DEBUG:urllib3.connectionpool:https://connect.squareup.com:443 "POST /v2/inventory/counts/batch-retrieve HTTP/1.1" 200 272
DEBUG:app:Retrieved 3 inventory counts
DEBUG:app:Final inventory list: [{'catalog_object_id': '6QHOKNHMXRGXIBIIR3UHRTZJ', 'catalog_object_name': 'Biblias - B1001 - ', 'quantity': '0'}, {'catalog_object_id': 'KDCTEPPPLD7ETXGR4LSZBE2J', 'catalog_object_name': 'Biblias - B1003 - ', 'quantity': '0'}, {'catalog_object_id': 'OAZN4YTROXM54ZWP2QSFKQ5P', 'catalog_object_name': 'Biblias - B1002 - ', 'quantity': '0'}]
DEBUG:root:Square inventory response: [{'catalog_object_id': '6QHOKNHMXRGXIBIIR3UHRTZJ', 'catalog_object_name': 'Biblias - B1001 - ', 'quantity': '0'}, {'catalog_object_id': 'KDCTEPPPLD7ETXGR4LSZBE2J', 'catalog_object_name': 'Biblias - B1003 - ', 'quantity': '0'}, {'catalog_object_id': 'OAZN4YTROXM54ZWP2QSFKQ5P', 'catalog_object_name': 'Biblias - B1002 - ', 'quantity': '0'}]
INFO:root:Successfully prepared inventory list with 3 items```
````

---

<div class="post-metadata">

**Author:** ![Bryan-Square](https://sea1.discourse-cdn.com/square/forums/user_avatar/developer.squareup.com/bryan-square/32/38_2.png) [@Bryan-Square](https://developer.squareup.com/forums/u/Bryan-Square)\
**Post date:** [February 8, 2025, 1:34am UTC](https://developer.squareup.com/forums/t/in-the-dashboard-i-dont-see-any-items-but-when-i-use-the-below-api-then-it-brings-me-items/20979/6 "2025-02-08T01:34:06Z")

</div>

I’m still having trouble understanding the issue. The catalog object is either enabled for all locations or it’s present at a specific location. The example catalog object that you provided is:

```auto
 "present_at_all_locations": false,
        "present_at_location_ids": [
            "L1QJKD4J69PKK",
            "LEJZ2G8PC6NH1"
        ],

```

However I see that your calling `SearchCatalogItems` with an empty query so you’ll always get the entire catalog for the Square account. 🙂

---

<div class="post-metadata">

**Author:** ![pablo099](https://avatars.discourse-cdn.com/v4/letter/p/dfb087/32.png) [@pablo099](https://developer.squareup.com/forums/u/pablo099)\
**Post date:** [February 10, 2025, 1:52am UTC](https://developer.squareup.com/forums/t/in-the-dashboard-i-dont-see-any-items-but-when-i-use-the-below-api-then-it-brings-me-items/20979/7 "2025-02-10T01:52:53Z")

</div>

Thank you for your response. This is what I think is happening.

In the first picture, you can see the /search-catalog-items, and you can see that the item `6QHOKNHMXRGXIBIIR3UHRTZJ` is only available in 2 locations.

In the second picture /inventory/counts/batch-retrieve/ I did a simple text search of the response of the “item id” `6QHOKNHMXRGXIBIIR3UHRTZJ` and I found this item on all the locations that shows the first picture. I don’t know why that is, but that second query should be presenting the item in just 2 locations present on the fist picture. That behavior doesn’t happen for all the items, just for the items where I am having the issue.

The 2 locations of the first picture on /search-catalog-tems

```auto
"LEJZ2G8PC6NH1",
"L1QJKD4J69PKK"

```

In the second picture you will see that the object `6QHOKNHMXRGXIBIIR3UHRTZJ` appears 100 times (one per location), so that is throwing me off.

 ![Screenshot 2025-02-09 at 6.51.02 PM](https://global.discourse-cdn.com/square/original/2X/1/17f2b57ffc1203a78dd79fdffe46f3d0062d94ec.png)

---

<div class="post-metadata">

**Author:** ![pablo099](https://avatars.discourse-cdn.com/v4/letter/p/dfb087/32.png) [@pablo099](https://developer.squareup.com/forums/u/pablo099)\
**Post date:** [February 10, 2025, 1:53am UTC](https://developer.squareup.com/forums/t/in-the-dashboard-i-dont-see-any-items-but-when-i-use-the-below-api-then-it-brings-me-items/20979/8 "2025-02-10T01:53:32Z")

</div>

There is the second picture where the item appears in many locations.

I think that this is an error from square that is sending on this query an item on multiple locations when it is not there, but i am a noobie, can you please confirm?

 ![Screenshot 2025-02-09 at 6.51.35 PM](https://global.discourse-cdn.com/square/original/2X/3/3bdf085c03c7584bde6f7db5901f675859dc9de5.png)
