I am building a custom site for a Square client and trying to filter items based on the availability field shown in the item library. I can see what I think is the field in API response when I use the API explorer, but when I do the exact same query in my application I cannot see the field. Any ideas on why that is the case?
I am using the batchRetrieveCatalogObjects api and looking at the ecom_visibility field
They have an online store set up, but are looking for something more custom. Would you have any recommendations on the best way to filter items that they have in their item library but don’t want to show up on the site?
At this time there isn’t a way to programmatically control what items are shown on the Square Online Store with our APIs. We’re constantly working to improve our features based on feedback like this, so I’ll be sure to share your request to the API product team.
That would be great! Square has a fantastic API btw. Including something like this would make it even better
Also, since I am making requests if Square ever comes something that would make it easier for devs to build a headless frontend using their item library as a db I wouldn’t complain