Updated Version for Postman Collection of the Shopify Admin API and the Shopify Storefront API
GraphQL* | REST |
---|---|
Collection | Collection |
GraphQL* |
---|
Collection |
*Not recommend to use via Postman. I recommend this approach instead.
For using it in your own Workspace you have multiple options.
These Collections are using Collection Variables, make sure to fill all the variables that you will use before launching requests!
The variables that you define under the Current value
input are stored only in your account, so you can safely use it from there.
This will only work for the REST APIs for now, due to Postman only allowing GraphQL queries in the Desktop client.
The variables that you define under the Current value
input are stored only in your account, so you can safely use it from there.
Option B. Fork it directly from the Web View collections linked above.
This should allow you to fork it directly into your Workspace.
This will only work for the REST APIs for now, due to Postman only allowing GraphQL queries in the Desktop client.
Option C. Import it directly from this github repository.
This will only work for importing the REST APIs for now, due to a Postman bug I haven't been able to export the GraphQL ones to add it here.
Go through the import process and it should automatically add it to your workspace.
This will only work for importing the REST APIs for now, due to a Postman bug I haven't been able to export the GraphQL ones to add it here.
The Postman Collection file is a JSON containing all information about each request.
Open Postman and import one of the files from this folder:
Shopify Admin - REST.postman_collection.json
In order to retrieve or create your private API Credentials, follow this link:
https://shopify.dev/docs/apps/auth/admin-app-access-tokens
If you're a first-time GraphQL user and just want to make mock requests to a store. I recommend you to start here. In short, install the GraphQL Shopify App in your store and do requests from there so you can learn the shape of the queries.
Feel free to contribute if you believe there is something missing.
Miguel Ángel (@muchisx)