how can i get products for specific category from woocommerce restapi using php

I tried doing the following and applying filter etc. seems like i am doing something wrong.Don’t know what.

$data=$client->products->get('',array('category'=>33));

Read more here: how can i get products for specific category from woocommerce restapi using php

Leave a Reply

Your email address will not be published. Required fields are marked *