A space to discuss GraphQL queries, mutations, troubleshooting, throttling, and best practices.
Hi,
I need some help and I'm new to shopify. I have created an app by shopify app create node. After installing the app in the store, it asks for the 12 digit code. When I submit the code, then I'm storing this code using Privatemetafield(https://shopify.dev/api/admin-graphql/2021-04/mutations/privateMetafieldUpsert#section-examples) and also I'm adding the pice of js code(ex: script.js) across all the pages using https://shopify.dev/api/admin-rest/2022-01/resources/scripttag#[post]/admin/api/2022-01/script_tags..... My question is how can I access the 12 digit code inside the script.js?