question

brokenoval avatar image
brokenoval asked andrewdzoom answered

Is it possible to query the /items api using an item name?

Looking through the API documentation at this call: https://api.clover.com:443/v3/merchan...

There is a filter field for "name" = how can we make this work? For example I want to search the inventory for an item called "Coffee" however, trying this doesn't work: https://api.clover.com:443/v3/merchan...

Is it possible to search for Items "like" Coffee i.e. so that "Small Coffee" would show up? i.e. can we use a wildcard?

Thanks!

Inventory
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

andrewdzoom avatar image
andrewdzoom answered
I'm attempting to perform this request but it doesn't work when I add the filter. I can get all the items when I remove the filter but when adding the filter it says 401 unauthorized.

?filter=name==coffee
?filter=name%3Dcoffee
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Welcome to the
Clover Developer Community