Getting Started
UpStart Commerce APIs

Access APIs in Postman

7min

This section outlines a step-by-step process of installing Postman, obtaining UpStart Commerce APIs, importing them as collections, and setting up the Postman environment.

What is Postman?

Postman is a tool for building and using APIs. With Postman you can build and customize HTTP requests, store request templates, and collaborate with others. It supports various HTTP methods, headers, parameters, and authentication methods, enabling you to simulate different scenarios.

Setting Up

Follow these steps to download our OpenAPI Specification (OAS) files, import them into Postman, and commence testing UpStart Commerce APIs.

Step 1: Install Postman

To install Postman, follow the installation guidelines available at the Postman Learning Center.

Step 2: Download the OpenAPI YAML File

  1. Visit our "UpStart Commerce API Documentation". All our service APIs are listed under the "RESTful API Documentation" section. Click on the service you are interested in exploring.
  2. Click on the "Export" button at the top right corner.
  3. Select "Bundled References" from the dropdown menu to download the Open API YAML file, offering a comprehensive set of endpoints, request parameters, and examples for API functionality.
Document image


Step 3: Import the File to Postman:

  1. Launch Postman, the API development and testing tool.
  2. Click on "Import" at the top-left corner to open a modal window.
  3. Select or drop the previously downloaded "Open API YAML file" from your local storage.
  4. Now, choose how do you want to import the "Open API YAML file". You can opt for either a "Postman collection" or "Open API 3.1" with a Postman collection by selecting the radio button.
  5. Click on "View Import Settings" on the modal. In the folder organization, select "Tags." This ensures the creation of folders for consumer and management APIs.
  6. At last, click on "Import" again, confirming the successful import into the Postman.
Document image


Step 4: Configure Environment Variables

  1. To configure your environment, click on the "Environments" button located in the side menu.
  2. If you are setting up variables for a new environment, click on "Add" to create a new environment.
  3. For existing environments, add the following environment variables necessary for your UpStart Commerce instance. If your company has a development instance already, please check with your technical lead for the corresponding values of these variables. If you have not established a Tenant ID and Site ID, and you want to create a Sandbox Environment to explore our APIs, go to this link. The email generated during this Sandbox setup will provide you with the necessary values for these environment variables.
  • Base URL: Configure the "baseUrl" to the API host of your instance plus /v1. Example: https://apihost.com/v1
  • Tenant ID and Site ID: Configure the environment variables, Tenant ID, and Site ID according to your company's development or sandbox environment. Further on, set and header of each request.
Document image

Document image


Finally, "Save" the environment configuration.

Once the collection is imported and configured, you can explore the UpStart Commerce APIs further. We suggest you to:

  1. Browse Endpoints: Review the collection to understand available endpoints and functionalities.
  2. Test Requests: Execute sample requests to observe API responses and understand the data structure.
  3. Modify and Experiment: Modify requests to suit your specific use cases and experiment with different parameters.