Order graphql query by tag latency

Lishan
Shopify Partner
8 1 1

I find that after i add a tag to an order and try to look it up with the order graphql query by tag, it will take a while for the order with that tag to appear in the response. say the tag is `test`

 

 

{
  orders(query:"tag:test", reverse: true, first:5)
  {
     edges {
      cursor
      node {
          tags
       }
    }
 }
}

 

 

after i remove the tag from this order and look up orders with the same tag `test`, it will take a while for that order to disappear in the response even though the tag is no longer with the order. 

 

I need to filter orders by tag and reflect the change right away, how can i get around this latency issue? Thanks a lot!

iamnotarobot
New Member
1 0 0

Hello I am wondering if you are able to resolve this issue?

I have the same issue as well.

 

Thanks

0 Likes