Published April 12, 2026 Updated April 12, 2026 integration

How to Get a Shopify Access Token for Postman

Postman is one of the most popular API testing and development platforms available today. If you're looking to integrate with the Shopify API using Postman, you'll need a valid Shopify access token to authenticate your requests. This comprehensive guide will walk you through everything you need to know about obtaining and using Shopify access tokens with Postman in 2026.

Whether you're a developer building custom Shopify applications, testing store functionality, or automating workflows, understanding how to properly configure Shopify API with Postman is essential. In this guide, we'll cover both the quickest method and the traditional manual OAuth approach, ensuring you can choose the path that works best for your needs.

What You Need

Quick Method (Recommended)

The fastest and most straightforward way to get a Shopify access token for Postman is using https://getshopifytoken.com. This method eliminates the complexity of manual OAuth flows and gets you up and running in minutes.

  1. Visit the Website: Navigate to https://getshopifytoken.com in your web browser
  2. Enter Your Store Information: Input your Shopify store URL (e.g., mystore.myshopify.com) in the designated field
  3. Select Required Scopes: Choose the specific API scopes you need for your Postman requests. Common scopes include:
    • read_products / write_products
    • read_orders / write_orders
    • read_customers / write_customers
    • read_inventory / write_inventory
  4. Click "Generate Token": The platform will initiate the authentication process
  5. Authorize the Application: You'll be redirected to your Shopify store where you need to log in and grant permission
  6. Copy Your Token: Once authorized, your access token will be displayed. Copy it immediately and store it securely
  7. Add to Postman: Paste the token into Postman's Authorization tab (Bearer token type)

Pro Tip: Store your token in Postman's environment variables rather than hardcoding it into requests. This keeps your token secure and makes it easy to switch between different environments (development, staging, production).

Manual OAuth Method

If you prefer to handle the OAuth flow manually or need more control over the process, you can create a custom app in your Shopify store and generate an access token directly. This method is more involved but provides greater transparency and control.

Step 1: Create a Custom App in Shopify

  1. Log in to your Shopify admin dashboard
  2. Navigate to Settings → Apps and Integrations
  3. Click "Develop apps" or "Create an app"
  4. Enter your app name (e.g., "Postman API Testing")
  5. Select your preferred developer account if prompted
  6. Click "Create app"

Step 2: Configure Admin API Scopes

Selecting API access scopes in the Shopify Partner Dashboard
Selecting API access scopes in the Shopify Partner Dashboard
  1. In your app settings, go to the "Configuration" tab
  2. Scroll to "Admin API access scopes"
  3. Check the boxes for scopes you need (details in the Required Scopes section below)
  4. Click "Save"

Step 3: Generate Your Access Token

  1. Navigate to the "API Credentials" tab
  2. Under "Admin API access token," click "Reveal token"
  3. Copy the token carefully—you won't see it again in full without regenerating
  4. Store it securely (use environment variables or a secrets manager)

Step 4: Make Your First API Call in Postman

Now that you have your token, you're ready to make API requests. Here's how to set up your first request:


curl --location 'https://yourstore.myshopify.com/admin/api/2024-01/graphql.json' \
  --header 'X-Shopify-Access-Token: shpat_your_access_token_here' \
  --header 'Content-Type: application/json' \
  --data '{"query":"query { shop { name products(first: 10) { edges { node { id title } } } } }"}'

In Postman, translate this as follows:

  1. URL: https://yourstore.myshopify.com/admin/api/2024-01/rest/products.json
  2. Method: GET (for retrieving data) or POST (for creating data)
  3. Headers Tab:
    • Key: X-Shopify-Access-Token
    • Value: shpat_your_access_token_here
  4. Click Send: Postman will execute the request and display the response

Connecting Your Token to Postman

After obtaining your Shopify access token, properly configuring it in Postman is crucial for successful API calls.

Method 1: Using Environment Variables (Recommended)

  1. In Postman, click the "Environments" icon on the left sidebar
  2. Click "Create New" → "Environment"
  3. Name your environment (e.g., "Shopify Production")
  4. Add a new variable:
    • Variable Name: shopify_token
    • Initial Value: Your access token
    • Current Value: Your access token
  5. Add another variable for your store URL:
    • Variable Name: store_url
    • Initial Value: https://yourstore.myshopify.com
  6. Click "Save"
  7. Select your environment from the environment dropdown (top-right)

Method 2: Bearer Token in Authorization Tab

  1. Open any request in Postman
  2. Click the "Authorization" tab
  3. Select "Bearer Token" from the Type dropdown
  4. Paste your token in the Token field
  5. This applies to this request and all child requests in the folder

Method 3: Custom Headers

  1. Click the "Headers" tab in your request
  2. Add a new header:
    • Key: X-Shopify-Access-Token
    • Value: {{shopify_token}} (if using environment variables)
  3. Repeat for each request or create a collection-level header

Required Scopes for Postman

The scopes you need depend on what API endpoints you plan to test. Here are the most common scopes for Postman testing:

Scope Purpose
read_products Read product information, variants, and details
write_products Create, update, and delete products
read_orders Retrieve order data and order details
write_orders Create and modify orders, fulfill items
read_customers Access customer information and data
write_customers Create, update, and delete customer records
read_inventory View inventory levels and stock status
write_inventory Update inventory quantities and locations
read_fulfillments Read fulfillment and tracking information
write_fulfillments Create and manage fulfillments
read_analytics Access store analytics and reporting data
read_content Read pages, blogs, and content
write_content Create and modify pages and blog content

Best Practice: Only request the scopes you actually need. This follows the principle of least privilege and enhances security.

Troubleshooting

Frequently Asked Questions

Q: How long does a Shopify access token remain valid?

Shopify access tokens don't expire by default—they remain valid indefinitely until you manually revoke them through the app settings or delete the custom app entirely. However, it's best practice to rotate tokens periodically and revoke old ones for security purposes. If you notice unusual activity, you can regenerate your token immediately.

Q: Can I use the same token across multiple Postman requests?

Yes, absolutely. In fact, it's recommended to use environment variables to store your token once and reference it across all requests. This approach keeps your token centralized, makes it easy to update if needed, and helps maintain security by avoiding token duplication across requests.

Q: What's the difference between REST API and GraphQL in Shopify, and which should I use in Postman?

Shopify offers both REST and GraphQL APIs. REST is simpler for beginners and works well with Postman's standard interface (using GET, POST, PUT, DELETE methods). GraphQL is more powerful and flexible but requires sending JSON queries in the request body. For Postman, REST endpoints are typically easier to work with, but both are fully supported. The choice depends on your specific needs and preference.

Q: Is it safe to share my Shopify access token with team members?

No—treat your access token like a password. Never share it via email, chat, or version control systems. Instead, use Postman's team collaboration features with proper access controls, or create separate custom apps and tokens for different team members. This way, you can track who made which API calls and revoke individual tokens without affecting others.

Q: How do I know which API version to use in my Postman requests?

Shopify releases new API versions quarterly. The URL structure typically looks like: https://yourstore.myshopify.com/admin/api/2024-01/rest/products.json. You can use the latest stable version (recommended) or specify an older version if needed. Check Shopify's API documentation for the current supported versions and deprecation timelines.

Q: What should I do if I accidentally expose my access token?

Immediately revoke the token by going to your Shopify admin → Settings → Apps and Integrations → your app → API Credentials → regenerate token. This invalidates the old token instantly. Generate a new token and update your Postman configuration. Consider enabling audit logging to monitor what was accessed with the exposed token.

Q: Can I test Shopify API calls in Postman before implementing them in my app?

Absolutely—that's one of Postman's primary use cases. You can test any API endpoint, check response formats, verify error handling, and debug issues before writing production code. Postman also lets you save request collections, create test scripts, and generate mock servers for comprehensive API development workflows.

Get Your Shopify Access Token in 60 Seconds

Skip the manual OAuth flow. GetShopifyToken automates the entire process — just paste your credentials and get your token instantly.

Generate Token Now →