This is some improvements for the oficial WooCommerce repo. https://github.com/woocommerce/woocommerce-rest-api-js-lib I hope they merge or accept it as new repo. soon. Please few free to contact me.
MIT License
29
stars
8
forks
source link
get('orders') accepts parameter "customer" instead of "customer_id" #40
The GET orders endpoint accepts a "customer" parameter instead of "customer_id". The typescript definitions need to reflect this.
I think this can most easily achieved by changing:
to