saleor icon indicating copy to clipboard operation
saleor copied to clipboard

Allow filtering orders that are expired

Open witoszekdev opened this issue 1 year ago • 1 comments

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
}

witoszekdev avatar Oct 13 '23 15:10 witoszekdev

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?

korycins avatar Jan 15 '24 14:01 korycins