API Query Clarifications
I am seeking clarification on some of the functionality of the API. Specifically the three following points:
First, is there a way to query the Items API by a list as opposed to a single result. Something akin to the following:
/v1/search/items/guid:=[1,2,3,...]
Secondly, is there a way to paginate or offset results returned from the Items API? Assuming a query of:
/v1/search/items/stock:=1
Would return more than 50 results, how would one go about offsetting or paginating this to get all of the results returned?
Lastly, does the API have any endpoints that support a form of query language? I have a use case that would be nicely satisfied by something akin to the following:
SELECT guid, stock FROM Item WHERE stock > 0
Any examples provided would be greatly appreciated.
Hi Nick,
Thank you for your submission!
The current V1 products API accommodates everything your are looking for via the search endpoint:
https://www.suredone.com/guides/api/#/reference/items/search-items/search-items
Let us know if you have more questions and/or if anything above is unclear.
Thanks,
Jason