FROM CACHE - en_header

Remove tag from an order using Graphql API

Shopify Partner
22 1 0


I have tagged my all my orders using a specific tag, but am writing an app and if one order  satisfies certain criteria, the tag should be remove from that particular order.  Can someone please tell me how to do it when using Graphql queries ?

Thanks 🙂

Reply 1 (1)
Shopify Partner
67 12 16

Fetch each order and check for your condition, if it matches you can remove the tag with the orderUpdate mutation: