Created
February 2, 2022 22:26
-
-
Save markmur/c4d426368e85612fa17e8bb4e3e5790e to your computer and use it in GitHub Desktop.
Example Shopify config file for Apollo GraphQL VSCode extension
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = { | |
client: { | |
service: { | |
name: 'Shopify', | |
url: 'https://{YOUR_STORE}.myshopify.com/api/unstable/graphql.json', | |
headers: { | |
'x-shopify-storefront-access-token': '{YOUR_PUBLIC_STOREFRONT_ACCESS_TOKEN}', | |
'Content-Type': 'application/graphql', | |
}, | |
}, | |
}, | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment