/shopify-admin-postman

2024 Updated Version for Postman Collection of the Shopify Admin REST API, Admin GraphQL API and Storefront GraphQL API.

Shopify APIs Postman Collections (Updated 2024)

Updated Version for Postman Collection of the Shopify Admin API and the Shopify Storefront API

Table of Contents

Web View

Shopify Admin API

GraphQL* REST
Collection Collection

Shopify Storefront API

GraphQL*
Collection

*GraphQL not recommend to use via Postman Web. I recommend this approach instead.

How to use it in Postman?

These Collections are using Collection Variables, make sure to fill all the variables that you will use before launching requests!

For using it in your own Workspace you have multiple options:

Web View Collections

As linked above, you can use these Web View collections.

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.

Desktop View

The variables that you define under the Current value input are stored only in your account, so you can safely use it from there.

Fork it directly from the Web View collections.

Go to any collection in Web View and click on fork. 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.

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.

Download the collection files and import into Postman.

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

Where are my API Credentials?

In order to retrieve or create your private API Credentials, follow this link:

https://shopify.dev/docs/apps/auth/admin-app-access-tokens

Recommended GraphQL client for first-time users.

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.

Alternatively, you can use Postman's GraphQL client in the Desktop version.

Collaboration

Feel free to contribute if you believe there is something missing.

Authors

Miguel Ángel (@muchisx)