Development discussions around Shopify APIs
Hello,
I am not sure if I understand this correctly. We want to remove script tags when an app is uninstalled. We tested this by running the scriptTagCreate mutation in Shopify GRAPHQL App to create a script tag. And then when we uninstalled the app, the script tag is still there. Am I testing this wrong and should not create the script tag in Shopify GraphQL App? Or is there a way to uninstall the GraphQL app through code?
Thank you!
Solved! Go to the solution
This is an accepted solution.
Okay, so I got confused about the concept of Script Tag in Local app and GraphQL app. I don't need to remove script tag in GraphQL app but only need to remove it from local app. So I should really test if a script tag is created in local app by using REST API (one of many ways) instead of using the GraphQL app.
This is an accepted solution.
Okay, so I got confused about the concept of Script Tag in Local app and GraphQL app. I don't need to remove script tag in GraphQL app but only need to remove it from local app. So I should really test if a script tag is created in local app by using REST API (one of many ways) instead of using the GraphQL app.
User | RANK |
---|---|
8 | |
7 | |
3 | |
3 | |
3 |
Connect your PayPal account to allow your customers to checkout using the PayPal gateway a...
ByYour online store speed can enhance your store’s discoverability, boost conversion rates a...
ByShopping is at our fingertips with mobile devices. Is your theme optimized to be user-frie...
By