Development discussions around Shopify APIs
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 |
---|---|
56 | |
11 | |
5 | |
5 | |
5 |
Thanks to all Community members that participated in our inaugural 2 week AMA on the new E...
By Jacqui Mar 10, 2023Upskill and stand out with the new Shopify Foundations Certification program
By SarahF_Shopify Mar 6, 2023One of the key components to running a successful online business is having clear and co...
By Ollie Mar 6, 2023