open-api icon indicating copy to clipboard operation
open-api copied to clipboard

[BUG]: findAllActiveListingsByShop endpoint doesn't work

Open DemiImp opened this issue 3 years ago • 0 comments

Is there an existing issue for this?

  • [X] I have searched the existing issues

Describe the bug

When I use the endpoint findAllActiveListingsByShop, I get returned:

{"count":0,"results":[]}

This is, of course, wrong.

For clarification, the endpoint URL that doesn't work is:

/shops/{shop_id}/listings/active

All of that said, the endpoint getListingsByShop with the state param DOES work. The endpoint URL for that looks like:

/shops/{shop_id}/listings?state=active

Steps to reproduce

  1. Request active listings from the shop using the findAllActiveListingsByShop endpoint

Expected behavior

I expect to get all of the listings that I get with request for /shops/{shop_id}/listings?state=active

Additional context

No response

DemiImp avatar Feb 16 '22 22:02 DemiImp