Skip to main content

API setup in the sandbox environment

How to test integrations in our sandbox environment

Andreas Stensig avatar
Written by Andreas Stensig
Updated this week

This guide helps you get started testing integrations in our sandbox environment, where you can freely experiment with the API without affecting production data.

Please note that this is an advanced guide, which requires experience in setting up an API integration!

1. Access to the sandbox environment

The sandbox is a test environment. Data you create or delete here will not affect your business – only your own test flows. You can therefore experiment freely.

  1. Go to our sandbox server: https://sandbox.prduct.com/

  2. Create a user with your email address (if you have been invited to an existing sandbox server, use the link from the email you received. Read more here).

Please note: On the sandbox/test environment, you must create a new user. The sandbox is in a separate system, and the users are technically not the same. You can use the same email and login information.

2. Create a bearer token

Once you’re logged in:

  1. Click on the three dots in the lower-left corner.

  2. Select “My company.”

  3. Then go to “API Client” in the menu.

  4. Click “Create new token.”

    1. Grant the token all permissions.

    2. Choose format: JSON (XML does not support all use cases).

When the token is created, you can use it to authenticate your API calls.

3. Use Swagger for testing

You can find the documentation for the sandbox API here: https://sandbox-api.prduct.com/api/documentation#/ (The API is available at: sandbox-api.prduct.com)

The Swagger documentation helps you understand endpoints, parameters, and test examples.

If you get an error message "Unauthenticated" it is due missing a correct bearer token.

Test your calls with Postman

An effective tool for testing our API is Postman, which allows you to easily test the API calls within the sandbox. We do not provide direct support for Postman, but below you’ll find some general guidance.

Watch a full walkthrough on how to set up Postman and complete the Happy flow:

Getting started:

  1. Download Postman from https://www.postman.com/

  2. Create a new Collection, e.g., “Prduct Sandbox Tests.”

  3. In your Collection, under Authorization:

    1. Choose type: Bearer Token

    2. Paste your token from the sandbox environment in the field.

  4. Create different requests (GET, POST, PUT, DELETE) to match our API endpoints.

Tips for your test:

  • Make sure your Base URL points to https://sandbox-api.prduct.com/.

  • Use our Swagger documentation to copy example bodies and endpoints directly into Postman.

  • You can save variables such as {{base_url}} and {{token}} to easily reuse them across calls.

  • Postman shows both the request and response, making it easy to check if your setup works correctly and if your master data is in place.

Support and questions
If you encounter any issues or have questions along the way, feel free to contact us.
Reach out via the chatbot in the lower-right corner or email us at [email protected]

Did this answer your question?