Admin/Orders Filter Search Syntax (field syntax)

lenowng
New Member
13 0 0

I don't know why it is so horrific with Shopify's unclear documentation. https://shopify.dev/concepts/about-apis/search-syntax#search-query-syntax, that specifically. 

 

Scenario:

in admin/orders page attempting to query orders conditionally based on what has defined in the documentation referenced above.

 

What am I trying to achieve here?

Apparently my store has a Delivery Method namely "Scheduled Delivery" and timeslot tags specifically only to such orders. I would like to query my orders only for Scheduled Delivery without any tags

 

What I have tried?

1. I tried, and it show orders that didn't have anything tag to it. (which I also want to know why `tag` instead of `tags`, where are the listed fields that I can potentially query with?)

-tag:*

 

2. I would like to combine above queries conditionally to if only the order has a delivery method title of "Scheduled Delivery" and so I tried (which resulting zero);

"Scheduled Delivery" AND -tag:*

 

Do advise what I can do.

0 Likes
lenowng
New Member
13 0 0

lenowng_0-1609488303014.png

As reference, the above is how orders in our store looks like. (removed customer names due to privacy policy)

 

Bumping this in hope for some love/attention.

0 Likes