Your IP : 216.73.217.95


Current Path : /proc/thread-self/root/home/deltalab/PMS/ims-connector/
Upload File :
Current File : //proc/thread-self/root/home/deltalab/PMS/ims-connector/Shopify Graphql Requests.md

# How to use Shopify GraphQL Requests using Postman

- Create a new POST request on Postman
- set headers:
  - set `Content-Type` as `application/json` (Postman does not work with `application/graphql` type)
  - set `X-Shopify-Access-Token` as the password provided by the private shopify app

- compose the endpoint address
  - Example: `https://STORENAME.myshopify.com/admin/api/APIVERSION/graphql.json`
  - Our endpoint: `https://indaco-test-store.myshopify.com/admin/api/2021-07/graphql.json`

- Insert the GraphQL query in the body, setting the type as `GraphQL`

- Run the request.

To perform a mutation instead of a simple data view, just replace the content of the body with the desired query