Hi,
I’m making a restaurant app where I need to retrieve how many items are still in stock from the restaurant’s Square.
There’s an API, but I cannot get a custom action to retrieve all the items available and their quantity, it only GETs the first item when I create list out of the custom action.
Has anyone managed to make that? (I’ve only seen one post about this here and it did not have an answer for it)
Well, as I see this API call is designed to return one record. Physical_count_id is a required parameter, according to the docs.
I guess batch retrieve could be done via smth like “Batch retrieve inventory count”. But as I’m seeing this API for the first time in my life, I might be wrong here :))
As a side note: you can retrieve many records using custom action, but you will be able to get values only from the first one.