Skip to content

Commit dcf5273

Browse files
committed
fix(shopify): fetch orders with any status
1 parent 47de9cf commit dcf5273

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎ecommerce_integrations/shopify/order.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -425,7 +425,7 @@ def _fetch_old_orders(from_time, to_time):
425425
from_time = get_datetime(from_time).astimezone().isoformat()
426426
to_time = get_datetime(to_time).astimezone().isoformat()
427427
orders_iterator = PaginatedIterator(
428-
Order.find(created_at_min=from_time, created_at_max=to_time, limit=250)
428+
Order.find(created_at_min=from_time, created_at_max=to_time, limit=250, status="any")
429429
)
430430

431431
for orders in orders_iterator:

0 commit comments

Comments
 (0)