Shopify API Get Store Info | Fetch Shop Details Using REST API & GraphQL API in Postman and Node.js

Опубликовано: 05 Май 2026
на канале: Fayyaz Ahmed | Shopify Developer
341
4

Learn how to fetch complete Shopify store details, products, and orders using both the REST API and GraphQL API — directly in Postman and in Node.js.
In this practical 2025 tutorial, we’ll start from zero and build a complete connection between your Shopify store and custom apps.

You’ll understand how to:

Create and configure a Shopify Custom App

Generate and manage your Admin API Access Token

Select and manage API Scopes (like Products, Orders, and Customers)

Test API requests in Postman

Write working Node.js scripts using Axios and environment variables

Fetch store info, products, and orders using the Shopify GraphQL Admin API

🔍 What You’ll Learn (Step by Step)

00:00 – Introduction
Overview of fetching Shopify store details using REST and GraphQL APIs in Postman and Node.js.

00:40 – Get Shopify Access Token
Learn to create and configure a Shopify Custom App, select API scopes, and install it to generate your Admin API access token.

05:00 – Secure Your Access Token
Understand how to manage and protect your token using the .env file (never expose your credentials in code).

07:00 – Fetch Store Info in Postman (GraphQL API)
Use the GraphQL shop query to retrieve store details like:

Store name

Domain

Email

Plan type

Currency

Primary domain

10:00 – Test Shopify GraphQL API in Postman
Add headers (X-Shopify-Access-Token and Content-Type: application/json) and make a POST request to the Shopify GraphQL endpoint.

13:00 – Fetch Store Info in Node.js
Write Node.js code using Axios, configure the POST request, and print the store data in the console.

17:00 – Fetch Products (GraphQL Query)
Use the products(first: 50) query to get product details:

Product ID, Title, Handle, Vendor, Tags

Variants with SKU, Price, Inventory

Images

19:00 – Fetch Orders (GraphQL Query)
Retrieve your Shopify store’s orders with sorting by creation date and show order details including totals and customer info.

21:30 – Fix Access Scope Error
When access to customers is denied, update your app configuration to include read_customers permission.

23:00 – Fetch Orders with Customer Details
Get the order list with customer names, emails, totals, and line item data.

24:00 – Use Environment Variables in Node.js
Secure your Shopify token using .env and load it via process.env.SHOPIFY_ACCESS_TOKEN.

26:00 – Complete End-to-End API Workflow
Fetch store info, products, and orders safely — and learn best practices for token security and app development.

Please connect with Me:
Please hire me on Upwork: https://www.upwork.com/freelancers/fa...
Please hire me on Fiverr: https://www.fiverr.com/fayyaz_raza