question

Bryanne Vega avatar image
Bryanne Vega asked Bryanne Vega commented

Parsing FIlters

I'm getting the following message when trying to get items using a filter:

HTTP/1.1 400 Bad Request
Content-Length: 48
Content-Type: application/json; charset=utf-8
X-Frame-Options: SAMEORIGIN

{"message":"Unable to parse filter: 'itemCode'"}

URL:

https://api.clover.com:443/v3/merchants/CXGP2EFYNTC36/items?filter=itemCode
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

Jacob Abrams avatar image
Jacob Abrams answered Bryanne Vega commented

A filter needs an operator and value such as filter=itemCode==XYZ. See https://docs.clover.com/build/web-app... What are you trying to do exactly? Are you trying to search for an item with a particular itemCode?

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.

Bryanne Vega avatar image Bryanne Vega commented ·

Yes, and other filters as well.

Thanks for the quick support!

0 Likes 0 ·

Welcome to the
Clover Developer Community