We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0da66f3 commit 475b5b3Copy full SHA for 475b5b3
1 file changed
ecommerce_integrations/shopify/order.py
@@ -425,9 +425,9 @@ def _fetch_old_orders(from_time, to_time):
425
from_time = get_datetime(from_time).astimezone().isoformat()
426
to_time = get_datetime(to_time).astimezone().isoformat()
427
orders_iterator = PaginatedIterator(
428
- Order.find(created_at_min=from_time, created_at_max=to_time, limit=250)
+ Order.find(created_at_min=from_time, created_at_max=to_time, limit=250,status='any')
429
)
430
-
+
431
for orders in orders_iterator:
432
for order in orders:
433
# Using generator instead of fetching all at once is better for
0 commit comments