0

I am looking for an API filter to get in stock products but I could not find any option on the internet.

Any ideas ? Maybe some plugin code ?

Thanks !

4
  • you can create your custom rest api for it. Commented Jun 18, 2020 at 3:46
  • Excuse me but what you mean ? A separate API, a new API endpoing ? I think it would be too hard work and there would be confusion for the API client developer to work with. Any ideas of using the original endpoint with this filter ? Thans !! Commented Jun 18, 2020 at 14:19
  • are you looking for the code to get in stock products only? Commented Jun 19, 2020 at 4:19
  • @ChandreshChauhan I am looking for a code to add an option to filter by in stock products. I mean the default list should keep the same, but if this field is set in the searchcriteria then it should filter. Commented Jun 19, 2020 at 22:06

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.