Calling a python script from custom wordpress rest api returns null

Thanks @JacobPeattie. I realize now after going through a few more articles that the problem was indeed not with wordpress but php and i was looking at the wrong place. The solution I found, I will write it down here just in case: putenv(‘PYTHONPATH=C:\xampp\htdocs\mil\mypython\venv\Lib\site-packages’); The problem was indeed with php. I found the answer only … Read more

How to get the most recently updated orders via the REST API?

As it turns out, it’s only possible to query the orders after a certain time with the legacy v3 WooCommerce REST API with the filter[updated_at_min] parameter, not with the new v3 WooCommerce REST API. I also want to query the customers who recently updated their data, which is impossible with any versions of the WooCommerce … Read more