New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fetch products by category in Woocommerce REST API #6241
Comments
We don't have filter for it yet. |
Yep no filter in place for this yet, in the meantime you can use the GET |
Appreciate the reply Max. My Guess is when we do the filtering on client-side, may be the App will crash in some point. Because of loading a huge weight of data at a time. I'm confused and afraid of this point. Hope you may understand my point. |
You could also use the |
Thanks Max. Waiting for your next release and all the best. |
I'm using Woocomerce for my wordpress shopping cart. I'm connect my Android App to my Wordpress database through Woocommerce REST API. I need to get products by category on my App. There is no provision in the REST API to fetch product by category.
I tried by using the filter attribute:
https://mysite.com/wc-api/v1/products?filter[product_cat]=mobile&consumer_key=ck_9354534x&consumer_secret=cs_dx7345345
This is return me all the products. Max please help me bro.
The text was updated successfully, but these errors were encountered: