shopify-graphql-node
Installation
To install this package, you can run command
npm install --save shopify-graphql-node
Or
yarn add shopify-graphql-node
Usage
- Simple query
; const GraphQLClient = "domain" "access-token"; const query = `query { shop { id } }`; GraphQLClient ;
- Simple mutation
; const GraphQLClient = "domain" "access-token"; const mutation = ` mutation collectionCreate($input: CollectionInput!) { collectionCreate(input: $input) { collection { id } } }`; GraphQLClient ;
- For more example, please read here
Issue
If you have any issue or question, please create new issue
License
This project is licensed under the MIT License.