Using Web API with filtering product by category ID did not yield any result even though data are in DB.

Wednesday, April 24, 2024 4:23:19 PM
  • Posted: Thursday, January 2, 2020 12:33 PM
  • 3
Using this query with Web API for our mobile app development, we use https://mall.ipaynow.io/odata/product?$filter=Categories/all(c:c/CategoryId eq '5d809a7254150f037f88c7a5')" and cannot get result with empty array. Please assist to check if there is an issue on the Web API. Thanks
0
  • Posted: Thursday, January 2, 2020 12:55 PM
  • 953
Hi,

Please try with any instead of all. We've noticed that it will work.
Best regards,
Patryk

GrandNode Team
0
  • Posted: Thursday, January 2, 2020 2:54 PM
  • 1
I tried with `all`, `any` query and it didn't work, can you help point out the document on this filter so we can extend it in the future. I see basic document on this link (http://docs.grandnode.com/operations-with-products), but it just stop at filter by exact name only. Thanks for your response!
0
back to top
Filters