Location without items, returning items

Hi

I have 3 items that appear on all locations in the APIs but they dont appear on the Square dashboard. I am putting here as an example. It seems to be an issue in the backend that i cannot solve.




:wave: 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:

Additional Documentation

Search for Items and Objects
Catalog API
Inventory API Requirements

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.



How did you come up with the SearchCatalogItems query you provided? That’s not a supported query. :slight_smile:

Thank you for your answer.

I just found the API and use it BUT, the batch retrieve that you recommended in another topic it is still giving me those 3 items and I dont know why it is presenting those items. They should not be coming back as they are not present on that location. The items barely have a history.

Right, because catalog objects don’t have a location filter. If you provide the catalog_object_ids in a GET request you always get them back. The location filter you see in the Dashboard is unique just to the Square Seller Dashboard. :slight_smile:

Thank you.

I made the mistake of adding the catalog API to the topic, but please ignore it and check the other API call inventory/counts/batch-retrieve that only contains the location and still retrieves the 3 items.

You mentioned before that if i used inventory/counts/batch-retrieve API it would be the correct one. That is what I am now using.