Is my abandoned order date query accurate?

Solved

Is my abandoned order date query accurate?

AndrewLeb
Tourist
47 0 2

Is this query correct?

 

last_abandoned_order_date:<='{{ scheduledAt }}' AND last_abandoned_order_date:>'{{ scheduledAt | date_minus: "1 week" }}' AND
order_date:<'{{ scheduledAt | date_minus: "1 week" }}' AND
storefront.collection_viewed(id: 378433732829) = true

 

Screenshot 2023-07-22 124952.png

Accepted Solution (1)

paul_n
Shopify Staff
1314 148 299

This is an accepted solution.

Edit: sorry I think you are querying Customers. Link https://shopify.dev/docs/api/admin-graphql/2023-07/objects/Customer

 

You cannot do something like

storefront.collection_viewe(id: 123) = true
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.

View solution in original post

Reply 1 (1)

paul_n
Shopify Staff
1314 148 299

This is an accepted solution.

Edit: sorry I think you are querying Customers. Link https://shopify.dev/docs/api/admin-graphql/2023-07/objects/Customer

 

You cannot do something like

storefront.collection_viewe(id: 123) = true
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.