diff --git a/functions/lib/integration/update-tracking.js b/functions/lib/integration/update-tracking.js index aa138d7..a0c4bd2 100644 --- a/functions/lib/integration/update-tracking.js +++ b/functions/lib/integration/update-tracking.js @@ -59,7 +59,7 @@ const fetchTracking = ({ appSdk, storeId }) => { let orders const ordersEndpoint = '/orders.json?fields=_id,number,amount,fulfillment_status,shipping_lines,shipping_method_label,metafields,buyers,items' + '&shipping_lines.app.carrier=MANDAE' + - '&fulfillment_status.current=ready_for_shipping' + + '&fulfillment_status.current!=delivered' + '&financial_status.current=paid' + '&shipping_lines.invoices.serial_number=21' + '&sort=updated_at'