You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 4, 2019. It is now read-only.
Currently the Woo API endpoint for /orders only allows filtering by a single order status. It would be helpful if we could pass in a list or array of order statuses to match results on. Example:
"status":"processing, pending, on-hold"
or
"status":{"processing", "pending", "on-hold"}
An even cooler feature would be to allow for wildcard matching on an order status filter:
"status":"wc-%"
in this example above the % would be the wildcard and an example of statuses it would match would be:
wc-new-order
wc-yay
wc-red
Thanks!
The text was updated successfully, but these errors were encountered:
AmandaRiu
changed the title
Ability to fetch a list of orders matching more than one status, or using a status search wildcard
Ability to fetch a list of orders matching more than one status, bonus using a status search wildcard
Jul 26, 2018
REST API v3 already supports multiple statuses, but we are not looking for a wildcard, maybe we can look at it in the future, please feel free to submit a Pull Request if you should like to implement it, you can submit to WooCommerce core. Thanks.
Currently the Woo API endpoint for /orders only allows filtering by a single order status. It would be helpful if we could pass in a list or array of order statuses to match results on. Example:
or
An even cooler feature would be to allow for wildcard matching on an order status filter:
in this example above the
%
would be the wildcard and an example of statuses it would match would be:Thanks!
The text was updated successfully, but these errors were encountered: