saleor
saleor copied to clipboard
Allow filtering orders that are expired
Problem
There is no way to filter orders if they have value OrderStatus.EXIPRED
1. General Assumptions
EXPIRED
should be added to OrderStatusFilter
2. API changes
Types
enum OrderStatusFilter {
# ...
EXPIRED
}
For draft orders we have a separate query: draftOrders
. The orders
query doesn't return the draft orders. So maybe we should have the same query for expiredOrders
?