Try HexaSync Now

Shopify API 2025: Retrieve all products in Shopify with Postman

Table of Contents

In this tutorial, I’ll guide you through the process of retrieving a complete list of products from your Shopify store using Postman and the Shopify API. By following these steps, you’ll gain a clear understanding of how to make your first API request and work with product data.

Step 1 : Generate API credentials from the Shopify admin

Before making any API requests, you need to create API credentials in your Shopify admin panel. Here’s how:

1. Log in to your Shopify Admin

     Go to your Shopify admin dashboard.

2. Navigate to Apps
      In the left-hand menu, click on Apps.

3. Manage Private Apps
     Scroll down and click on Manage private apps.

Shopify homapage

4. Create a New Private App
     Click Create a new private app.

5. Fill in App Details

  • App Name: Enter a name for your app.
  • Emergency Developer Email: Provide an email for emergency contact.

6. Set API Permissions
     In the Admin API section, select the permissions for the areas of your store you want the app to access (e.g., products, orders).

shopify API screen

7. Click Save to generate your API credentials.

receive username and password

After saving, you’ll see the API Key and Password generated automatically in the Admin API section. These will be used for authentication in your API requests.

Step 2: Making your first Shopify API request

Now that you have your API credentials, you can make your first request to retrieve your product list.

API Authentication Format

Use Basic HTTP Authorization with your API key and password. The URL structure is as follows:

https://{username}{password}@{shop}.myshopify.com/admin/api/{api-version}/{resource}.json

  • {username} — The API key that you generated
  • {password} — The API password
  • {shop} – The name that you entered for your development store
  • {api-version} — The supported API version you want to use
  • {resource} — A resource endpoint from the REST admin API

For example: You want to retrieve all products, showing only some attributes in your Shopify store. By using GET /admin/api/2020-10/products.json?fields=id,images,title. We will use this URL in the next step.

Step 3: Sending requests to Shopify with Postman

Postman is a collaboration platform for API development. Postman’s features simplify each step of building an API and streamline collaboration so you can create better APIs—faster.

In Postman, you need to create a tab to make a request to the Shopify API. You can use multiple tabs to create multiple API requests.

To create an authorized request:

  1. Open Postman
         Launch Postman on your computer.
  2. Create a New Request Tab

    • Click the ‘+’ icon to open a new tab.
  3. Set Up Authorization

    • Click on the Authorization tab within your new request.
    • From the Type drop-down menu, select Basic Auth.
    • In the Username field, enter your Shopify API Key.
    • In the Password field, enter your Shopify API Password.

add username and password

Once you’ve set up the authorization, you can send your first API request to fetch the list of products from your Shopify store.

  1. Choose HTTP Method

    • From the request method drop-down (default set to GET), ensure GET is selected.
  2. Enter the API Endpoint
    In the Enter request URL field, input your Shopify API endpoint. Replace the placeholders with your actual store credentials:
    • Example URL:
      • https://{API_KEY}:{API_PASSWORD}@{SHOP_NAME}.myshopify.com/admin/api/2020-10/products.json?fields=id,images,title
    • Example with credentials:
      • https://552ab3566e68293808f1a4f1b54940f3:[email protected]/admin/api/2020-10/products.json?fields=id,images,title
  3. Send the Request

    • Click the Send button.

 

get products list in postman

After clicking Send, Postman will display the response from Shopify in the Body section. You should see a JSON object containing your product data, including the id, title, and images of each product.

Sample Response:

"products": [{
    "id": 4356022435903,
    "title": "Acer Laptop Computer 2019",
    "images": [{
        "id": 13464248582207,
        "product_id": 4356022435903,
        "position": 1,
        "created_at": "2019-11-10T01:01:44+09:00",
        "updated_at": "2019-11-10T01:01:44+09:00",
        "alt": null,
        "width": 500,
        "height": 500,
        "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0253\/2261\/8943\/products\/acer-laptop-computer-500x500.jpg?v=1573315304",
        "variant_ids": [],
        "admin_graphql_api_id": "gid:\/\/shopify\/ProductImage\/13464248582207"
    }]
}, {
    "id": 4356050649151,
    "title": "Alum Telescoping Flag Pole",
    "images": [{
        "id": 13464422416447,
        "product_id": 4356050649151,
        "position": 1,
        "created_at": "2019-11-10T01:25:34+09:00",
        "updated_at": "2019-11-10T01:25:34+09:00",
        "alt": null,
        "width": 300,
        "height": 300,
        "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0253\/2261\/8943\/products\/s-l300.jpg?v=1573316734",
        "variant_ids": [],
        "admin_graphql_api_id": "gid:\/\/shopify\/ProductImage\/13464422416447"
    }]
}, {
    "id": 4356058677311,
    "title": "Arai Black Helmet",
    "images": [{
        "id": 13464470028351,
        "product_id": 4356058677311,
        "position": 1,
        "created_at": "2019-11-10T01:32:09+09:00",
        "updated_at": "2019-11-10T01:32:09+09:00",
        "alt": null,
        "width": 224,
        "height": 224,
        "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0253\/2261\/8943\/products\/t_i_xu_ng_5.jpg?v=1573317129",
        "variant_ids": [],
        "admin_graphql_api_id": "gid:\/\/shopify\/ProductImage\/13464470028351"
    }]
}, {
    "id": 4825048547391,
    "title": "Burton Custom Freestyle 151",
    "images": []
}, {
    "id": 4356042326079,
    "title": "Caravan Canopy Recliner",
    "images": [{
        "id": 13464379293759,
        "product_id": 4356042326079,
        "position": 1,
        "created_at": "2019-11-10T01:20:19+09:00",
        "updated_at": "2019-11-10T01:20:19+09:00",
        "alt": null,
        "width": 225,
        "height": 225,
        "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0253\/2261\/8943\/products\/t_i_xu_ng_2.jpg?v=1573316419",
        "variant_ids": [],
        "admin_graphql_api_id": "gid:\/\/shopify\/ProductImage\/13464379293759"
    }]
}, {
    "id": 4356051664959,
    "title": "Char-Broil Classic 480",
    "images": [{
        "id": 13464429756479,
        "product_id": 4356051664959,
        "position": 1,
        "created_at": "2019-11-10T01:28:15+09:00",
        "updated_at": "2019-11-10T01:28:15+09:00",
        "alt": null,
        "width": 225,
        "height": 225,
        "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0253\/2261\/8943\/products\/t_i_xu_ng_3.jpg?v=1573316895",
        "variant_ids": [],
        "admin_graphql_api_id": "gid:\/\/shopify\/ProductImage\/13464429756479"
    }]
}, {
    "id": 4356047175743,
    "title": "Davinci Jayden Convertible Crib",
    "images": [{
        "id": 13464400724031,
        "product_id": 4356047175743,
        "position": 1,
        "created_at": "2019-11-10T01:21:27+09:00",
        "updated_at": "2019-11-10T01:21:27+09:00",
        "alt": null,
        "width": 355,
        "height": 237,
        "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0253\/2261\/8943\/products\/81lTcS2gHNL._SX355.jpg?v=1573316487",
        "variant_ids": [],
        "admin_graphql_api_id": "gid:\/\/shopify\/ProductImage\/13464400724031"
    }]
}, {
    "id": 4356041867327,
    "title": "Eddy Insulated Bottle .5L",
    "images": [{
        "id": 13464375296063,
        "product_id": 4356041867327,
        "position": 1,
        "created_at": "2019-11-10T01:19:25+09:00",
        "updated_at": "2019-11-10T01:19:25+09:00",
        "alt": null,
        "width": 400,
        "height": 400,
        "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0253\/2261\/8943\/products\/626121837.g_400-w_g.jpg?v=1573316365",
        "variant_ids": [],
        "admin_graphql_api_id": "gid:\/\/shopify\/ProductImage\/13464375296063"
    }]
}, {
    "id": 4356041048127,
    "title": "Gaiam Body Balance Ball Kit",
    "images": [{
        "id": 13464370348095,
        "product_id": 4356041048127,
        "position": 1,
        "created_at": "2019-11-10T01:18:03+09:00",
        "updated_at": "2019-11-10T01:18:03+09:00",
        "alt": null,
        "width": 225,
        "height": 225,
        "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0253\/2261\/8943\/products\/t_i_xu_ng_1.jpg?v=1573316283",
        "variant_ids": [],
        "admin_graphql_api_id": "gid:\/\/shopify\/ProductImage\/13464370348095"
    }]
}, {
    "id": 4356040327231,
    "title": "Grac Pack N Play with Newborn Napperstation",
    "images": [{
        "id": 13464364154943,
        "product_id": 4356040327231,
        "position": 1,
        "created_at": "2019-11-10T01:16:36+09:00",
        "updated_at": "2019-11-10T01:16:36+09:00",
        "alt": null,
        "width": 500,
        "height": 409,
        "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0253\/2261\/8943\/products\/41PYWWe2r8L.jpg?v=1573316196",
        "variant_ids": [],
        "admin_graphql_api_id": "gid:\/\/shopify\/ProductImage\/13464364154943"
    }]
}, {
    "id": 4356049567807,
    "title": "Graco Stylus Classic Travel System",
    "images": [{
        "id": 13464415993919,
        "product_id": 4356049567807,
        "position": 1,
        "created_at": "2019-11-10T01:23:12+09:00",
        "updated_at": "2019-11-10T01:23:12+09:00",
        "alt": null,
        "width": 355,
        "height": 320,
        "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0253\/2261\/8943\/products\/51lFps_TE5L._SX355.jpg?v=1573316592",
        "variant_ids": [],
        "admin_graphql_api_id": "gid:\/\/shopify\/ProductImage\/13464415993919"
    }]
}, {
    "id": 4356039245887,
    "title": "Harvil 4 Foot Air Hockey Table",
    "images": [{
        "id": 13464356651071,
        "product_id": 4356039245887,
        "position": 1,
        "created_at": "2019-11-10T01:14:04+09:00",
        "updated_at": "2019-11-10T01:14:04+09:00",
        "alt": null,
        "width": 1024,
        "height": 1024,
        "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0253\/2261\/8943\/products\/Harvil-4-Foot-Air-Hockey-Game-Table-for-Kids-1024x1024.jpg?v=1573316044",
        "variant_ids": [],
        "admin_graphql_api_id": "gid:\/\/shopify\/ProductImage\/13464356651071"
    }]
}, {
    "id": 4356027088959,
    "title": "Injection molding machine - serial numbered",
    "images": [{
        "id": 13464290656319,
        "product_id": 4356027088959,
        "position": 1,
        "created_at": "2019-11-10T01:09:02+09:00",
        "updated_at": "2019-11-10T01:09:02+09:00",
        "alt": null,
        "width": 500,
        "height": 265,
        "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0253\/2261\/8943\/products\/hydraulic-injection-molding-machine-500x500.jpg?v=1573315742",
        "variant_ids": [],
        "admin_graphql_api_id": "gid:\/\/shopify\/ProductImage\/13464290656319"
    }]
}, {
    "id": 4356025385023,
    "title": "Lego 500 piece set",
    "images": [{
        "id": 13464277090367,
        "product_id": 4356025385023,
        "position": 1,
        "created_at": "2019-11-10T01:06:17+09:00",
        "updated_at": "2019-11-10T01:06:17+09:00",
        "alt": null,
        "width": 680,
        "height": 680,
        "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0253\/2261\/8943\/products\/imageService.jpg?v=1573315577",
        "variant_ids": [],
        "admin_graphql_api_id": "gid:\/\/shopify\/ProductImage\/13464277090367"
    }]
}, {
    "id": 4356039901247,
    "title": "Little Tikes Bold n Bright Table \u0026 Chairs",
    "images": [{
        "id": 13464360452159,
        "product_id": 4356039901247,
        "position": 1,
        "created_at": "2019-11-10T01:15:15+09:00",
        "updated_at": "2019-11-10T01:15:15+09:00",
        "alt": null,
        "width": 466,
        "height": 466,
        "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0253\/2261\/8943\/products\/71MuI7UJfWL._SX466.jpg?v=1573316115",
        "variant_ids": [],
        "admin_graphql_api_id": "gid:\/\/shopify\/ProductImage\/13464360452159"
    }]
}, {
    "id": 4356052156479,
    "title": "Mr BBQ 18 PC Stainless Set \u0026 Case - New Generation 2019",
    "images": [{
        "id": 13464433983551,
        "product_id": 4356052156479,
        "position": 1,
        "created_at": "2019-11-10T01:29:55+09:00",
        "updated_at": "2019-11-10T01:29:55+09:00",
        "alt": null,
        "width": 425,
        "height": 425,
        "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0253\/2261\/8943\/products\/71ajKLhphcL._SX425.jpg?v=1573316995",
        "variant_ids": [],
        "admin_graphql_api_id": "gid:\/\/shopify\/ProductImage\/13464433983551"
    }]
}, {
    "id": 4356054810687,
    "title": "Polar Heart Rate Monitor",
    "images": [{
        "id": 13464445452351,
        "product_id": 4356054810687,
        "position": 1,
        "created_at": "2019-11-10T01:30:57+09:00",
        "updated_at": "2019-11-10T01:30:57+09:00",
        "alt": null,
        "width": 225,
        "height": 225,
        "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0253\/2261\/8943\/products\/t_i_xu_ng_4.jpg?v=1573317057",
        "variant_ids": [],
        "admin_graphql_api_id": "gid:\/\/shopify\/ProductImage\/13464445452351"
    }]
}, {
    "id": 4356030136383,
    "title": "Poweraid 32 Oz - lot numbered",
    "images": [{
        "id": 13464307990591,
        "product_id": 4356030136383,
        "position": 1,
        "created_at": "2019-11-10T01:11:00+09:00",
        "updated_at": "2019-11-10T01:11:00+09:00",
        "alt": null,
        "width": 225,
        "height": 225,
        "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0253\/2261\/8943\/products\/t_i_xu_ng.jpg?v=1573315860",
        "variant_ids": [],
        "admin_graphql_api_id": "gid:\/\/shopify\/ProductImage\/13464307990591"
    }]
}, {
    "id": 4356036329535,
    "title": "South Shore Savannah Changing Table",
    "images": [{
        "id": 13464342396991,
        "product_id": 4356036329535,
        "position": 1,
        "created_at": "2019-11-10T01:12:31+09:00",
        "updated_at": "2019-11-10T01:12:31+09:00",
        "alt": null,
        "width": 466,
        "height": 466,
        "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0253\/2261\/8943\/products\/71b6_0PHoiL._SX466.jpg?v=1573315951",
        "variant_ids": [],
        "admin_graphql_api_id": "gid:\/\/shopify\/ProductImage\/13464342396991"
    }]
}, {
    "id": 4356051140671,
    "title": "Taylor Made Golf Set Right Handed",
    "images": [{
        "id": 13464425201727,
        "product_id": 4356051140671,
        "position": 1,
        "created_at": "2019-11-10T01:26:50+09:00",
        "updated_at": "2019-11-10T01:26:50+09:00",
        "alt": null,
        "width": 415,
        "height": 550,
        "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0253\/2261\/8943\/products\/814o1evmbHL._SY550.jpg?v=1573316810",
        "variant_ids": [],
        "admin_graphql_api_id": "gid:\/\/shopify\/ProductImage\/13464425201727"
    }]
}, {
    "id": 4356061560895,
    "title": "Telebrand Pocket Hose 50 Feet - New Generation",
    "images": [{
        "id": 13464489230399,
        "product_id": 4356061560895,
        "position": 1,
        "created_at": "2019-11-10T01:33:08+09:00",
        "updated_at": "2019-11-10T01:33:08+09:00",
        "alt": null,
        "width": 420,
        "height": 450,
        "src": "https:\/\/cdn.shopify.com\/s\/files\/1\/0253\/2261\/8943\/products\/71XjxPX2IwL._SY450.jpg?v=1573317188",
        "variant_ids": [],
        "admin_graphql_api_id": "gid:\/\/shopify\/ProductImage\/13464489230399"
    }]
}]
}

I have just provided you with three steps on how to Retrieve all products list with Postman in this video below. I hope it would be helpful for you when using the Shopify API. For more information, you can refer to Shopify DevDocs. If you have any questions or new ideas, feel free to leave a comment below.

https://www.youtube.com/watch?v=oZ6SoqOwuXY