New Shopify Certification now available: Liquid Storefronts for Theme Developers

GetOrderData for order older then X days + fullfilled

RennWelten
Excursionist
29 3 4

Hi everyone,

 

I am trying to use GetOrderData to get orders older then X days + fullfilled to afterwards for example add them to a spreadsheed or simply archive them and am struggling a bit how to do it.

 

My idea is to use an advanced query but somehow I get 0 returns although there are several orders existing:

 

created_at:>='{{ scheduledAt | date_plus: "1 week" }} AND fulfillment_status:shipped

 

Help would be highly appreciated!

 

Armin

Reply 1 (1)
paul_n
Shopify Staff
Shopify Staff
610 97 155

You want `date_minus` not `date_plus` since that would be in the future.

Paul_N | Flow Product Manager @ Shopify
- Finding Flow useful? Leave us a review
- Need Flow help? Check out our help docs.
- Building for Flow? Check out Flow's dev docs.