question

Jonathan Ryan Grice avatar image
Jonathan Ryan Grice asked Jonathan Ryan Grice commented

Filter categories not equals

How do I list all items and filter out items found in categories that their name or id equals example?
I know the proper usage for listing all items is

/v3/merchants/%s/items

how can I filter out certain categories and still list remaining products?

such as

/v3/merchants/%s/items?filter=categories!%3Dshoes&filter=categories!%3Djewelry
REST APIsemi-integrationsSandboxInventory
3 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.

Jonathan Ryan Grice avatar image Jonathan Ryan Grice commented ·

Update: I've tried filtering using example

/v3/merchants/%s/items?filter=categories.name!=shoes

and

/v3/merchants/%s/items?filter=categories.id!=T70G4BMTFBF12

and also get 500 Internal Server Error

0 Likes 0 ·
Jonathan Ryan Grice avatar image Jonathan Ryan Grice commented ·
I still haven't sorted this issue out. I'm still receiving a "500 Internal Server Error" on filtering out items in certain categories either by categories.name or categories.id.

Any ideas would be greatly appreciated.
0 Likes 0 ·
Jonathan Ryan Grice avatar image Jonathan Ryan Grice commented ·
I am still getting to 500 Internet Server Error when trying to filter=category.name or filter= category.id. I'm paging from the items endpoint so it's not straining the server, but I want to filter out items from categories that can't be sold online.
0 Likes 0 ·

0 Answers

Welcome to the
Clover Developer Community