Access a community of over 900,000 Shopify Merchants and Partners and engage in meaningful conversations with your peers.
I installed Shopify GraphiQL app in my test store.
I know the store has already some scriptags that I created. The REST request returns the list of Scripttags. However, trying to retrieve the same list through GraphQL comes out empty:
This query is being run from the Shopify GraphiQL app inside the store. What am I doing wrong?
Thanks.
Hello @bgvo ,
Is your REST client that is seeing ScriptTags returned also responsible for having created those tags? This could be a case of the ScriptTags being scoped to the app that created them (very similar to webhooks), in which case they wouldn't be returned when called via the admin GraphQL app
Graham S | API Support @ Shopify
- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- To learn more visit Shopify.dev or the Shopify Web Design and Development Blog
User | RANK |
---|---|
5 | |
4 | |
4 | |
4 | |
3 |