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 REST API to my knowledge.

It’s possible to extend the WooCommerce REST API, but I’m fed up with the limitation and slowness of the REST API, and I also dislike PHP, so I’ll probably end up directly querying the WordPress MySQL database from our ERP that uses node.js.

This post describes the related MySQL tables quite well.