You need to be able to query orders by metafield value. That improvement was recently released in the API, but it looks like it doesn’t yet work on date fields. If the field happens to be a text field, then it would be possible. Docs: https://shopify.dev/docs/apps/build/custom-data/metafields/query-by-metafield-value
paul_n
16
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| How to get Current Date in Cart and Checkout Validation Function API | 7 | 307 | January 6, 2024 | |
| Cart and Checkout Validation Function API で 現在時刻を取得する方法 | 0 | 46 | March 11, 2024 | |
| How can I hide a product based on a metafield date comparison? | 32 | 509 | January 16, 2025 | |
| Pass input data from trigger to Run code action | 2 | 129 | January 24, 2025 | |
| Why isn't my date comparison flow working in Shopify? | 15 | 458 | September 30, 2025 |