pixelpeter / laravel5-woocommerce-api-client

Laravel 5 wrapper for the Woocommerce REST API
MIT License
125 stars 48 forks source link

unable to filter order notes by type #40

Open rained23 opened 6 years ago

rained23 commented 6 years ago

Hi,

When I try to run the following API, I will receive all order notes and its not filtered based on the type. I tried looking into woocommerce github issue and there seem no report regarding this issue.

Woocommerce::get('orders/1/notes',['type'=>'internal']);

I am not sure its a bug or intended, the only way to get it done are by running the parameters at the endpoint like below

Woocommerce::get('orders/1/notes?type=internal');
pixelpeter commented 5 years ago

Which version of the WC API WOOCOMMERCE_VERSION are you using?

rained23 commented 5 years ago

I am using WC API v2