question

chaincaster avatar image
chaincaster asked chaincaster commented

Is filtering for items in v3 currently broken?

I have an inventory item I named happy https://api.clover.com/v3/merchants/[My merchant ID]/items?filter=name==happy&access_token=[MyToken]

I receive an empty elements array "elements": [ ]

I've tested this with other fields too like sku and itemCode and it doesn't return anything

I've also tried using the UI in the API docs to run queries on items, but I get the same results.

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

james-cha avatar image
james-cha Deactivated answered chaincaster commented

Hey ChainCaster,

It will be items?filter=name=happy&access_token (Doing forget we require you to do use OAuth in production)

2 comments
10 |2000

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

chaincaster avatar image chaincaster commented ·

Awesome. Thanks, James!

I guess I was thrown off because that is not an option in the "filter" dropdowns found in the items documentation

I do have OAuth working. The docs are nice and clear about that. I was just troubleshooting in my address bar.

0 Likes 0 ·
james-cha avatar image james-cha commented ·

Awesome! Glad you got it working.

0 Likes 0 ·

Welcome to the
Clover Developer Community