question

Danielle Cox avatar image
Danielle Cox asked Danielle Cox commented

WebAPI filter == doesn't seem to work

I have a category "Beer" { "id": "Y2H7JQ8MW6976", "name": "Beer", "sortOrder": 104 },

If I generate the statement: https://apisandbox.dev.clover.com:443...

I get: { "elements": [], "href": "http://apisandbox.dev.clover.com/v3/merchants/AVK6V7V6H43AT/categories?filter=name%3D%3DBeer&limit=100" }

However, if I do != or >= as in https://apisandbox.dev.clover.com:443...

it works { "elements": [ { "id": "Y2H7JQ8MW6976", "name": "Beer", "sortOrder": 104 } ], "href": "http://apisandbox.dev.clover.com/v3/merchants/AVK6V7V6H43AT/categories?filter=name%3C%3DBeer&limit=100" }

Am I doing something wrong here?

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

rachel avatar image
rachel Deactivated answered Danielle Cox commented

Try using just one = sign. The API docs generator incorrectly uses ==.

1 comment
10 |2000

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

Danielle Cox avatar image Danielle Cox commented ·

This works - thanks!

0 Likes 0 ·

Welcome to the
Clover Developer Community