When filtering orders by order status, can we filter by multiple order statuses using the REST API or am I experiencing a bug?
Example:
If I make the following call:
/admin/api/2023-10/orders.json?status=closed
I receive my closed orders in the response
/admin/api/2023-10/orders.json?status=cancelled
I receive my cancelled orders in the response
/admin/api/2023-10/orders.json?status=closed,cancelled
I receive no records, just an empty array.
Bizarrely if combine the status filters in the following manner:
/admin/api/2023-10/orders.json?status=open,cancelled
I receive records back. Seemingly open can be combined with the other filter statuses.
Is the above behavior a bug or intended that closed and cancelled orders cannot be filtered with each other?
Is there an intended way to combine order status filters?