Dedicated to the Hydrogen framework, headless commerce, and building custom storefronts using the Storefront API.
Hello,
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 🙂
Fetch each order and check for your condition, if it matches you can remove the tag with the orderUpdate mutation: https://shopify.dev/docs/admin-api/graphql/reference/orders/orderupdate