Back to blog
Guides·Published onAug 13, 2025

Exploring Vendure APIs Through Preconfigured Postman Collections

HAS
Housein Abo ShaarGrowth Engineer & Developer Advocate, Vendure
This guide demonstrates how to use Postman as a tool to explore, test, and develop with Vendure. By forking our public collection, you can immediately start making API calls to your local instance, skipping the initial configuration.

The Official Vendure Postman Collections Workspace

Prerequisites

Before you begin, ensure you have the following:

Getting Started with Postman

Getting started is as simple as forking the collection and an accompanying environment, configuring a few variables, and making your first API call.

1. Fork a Collection and Environment

First, you need to fork a collection from the Vendure Public Postman Collections workspace into your own. Forking creates a copy that you can freely modify.

  1. Navigate to the Vendure public Postman workspace using the link provided.
  2. In the left sidebar, navigate to the collection you want to use, either Shop-API or Admin-API.

    Note: The Admin API collection is a work in progress.

  3. Right-click on the collection and select Create a fork.
  4. Give your fork a label and select the workspace where it should be saved.
  5. Repeat the process for the "Vendure-Local" environment, which is provided alongside the collections. Forking the environment is essential for the requests to work correctly. (Found on the right sidebar)

2. Configure Your Environment Variables

Your forked environment holds the variables that connect Postman to your local Vendure instance.

  1. In your Postman workspace, navigate to the Environments tab and select your forked "Vendure-Local" environment.
  2. In the Current Value column, set the values for the following global variables:

    • shopApi: The full URL to your Shop API. By default, this is http://localhost:3000/shop-api.
    • adminApi: The full URL to your Admin API. By default, this is http://localhost:3000/admin-api.

Tip: Using the "Current Value", instead of “Initial Value” field keeps your sensitive credentials from being synced if your workspace is public.

3. Authenticate and Get a Token

Some API calls, particularly those that are attached to a user, require you to be authenticated when making a request.

  1. In your forked collection, expand the Admin-API folder and select the HTTP login request, or HTTP Admin login for admin privileges.
  2. Ensure your forked "Vendure-Local" environment is selected in the top-right dropdown.
  3. Click Send.

A successful request will return a 200 OK status and the user's details. The collection is configured to automatically extract the session cookie token from the response headers and save it to your environment through the pre-configured scripts, so you can immediately start making other authenticated requests.
Note: Authentication for requests is configured in the Headers tab through the Cookie field, which uses the sessionCookie environment variable in each request.

4. Explore the API

You are now ready to explore. Try querying for products from the Shop API or creating a new customer through the Admin API. Each request in your forked collection is pre-configured to use your environment variables and the authentication token.

Further Reading

To learn more about the concepts demonstrated in this guide, check out the official Vendure documentation:

Share this article