Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

unable to filter order notes by type #40

Open
rained23 opened this issue Sep 9, 2018 · 2 comments
Open

unable to filter order notes by type #40

rained23 opened this issue Sep 9, 2018 · 2 comments

Comments

@rained23
Copy link

rained23 commented Sep 9, 2018

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');
@rained23 rained23 changed the title unable to filter order notes type unable to filter order notes by type Sep 9, 2018
@pixelpeter
Copy link
Owner

Which version of the WC API WOOCOMMERCE_VERSION are you using?

@rained23
Copy link
Author

I am using WC API v2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants