Quick start guide
Learn how to how to make Digital River API requests.
This guide shows you how to start making Digital River API requests. By the end, you'll know how to set up a Dashboard account, obtain your API keys, and perform a test request.

Step 1: Create a test account

Before you can start making Digital River API requests, you'll need to create a test account in the Dashboard.
Once you successfully sign in to Dashboard, you'll be able to access your account's API keys. Your account is provided with four keys in total: a public and confidential API Key for sending requests in both test and production modes. In Dashboard, toggle between Test and Production to view your public keys and click Reveal test token or Reveal token to unmask your confidential key.
Digital River uses these keys to authenticate your API requests. The API key you use to authenticate the request determines whether the request is in production mode or test mode. If you forget to provide your key or use one that is incorrect or outdated, the API returns an error.

Step 2: Perform a test request

After you have access to your API keys, you'll want to perform a test request. The following steps demonstrate how to do this:
Make sure you install Postman before proceeding.
    Go to the Digital River API Postman Collection page on GitHub.
    To install the Digital River API Postman Collection, click the Run in Postman button and select Postman for Windows.
    Click the
    icon on the Digital River Collection you just imported and select Edit.
    In the Edit Collection window, select the Variables tab.
    For the secretKey variable, paste your confidential test key into the Initial Value and Current Value fields.
    Click Save.
    Back in the collection, expand the Create a Client-fulfilled SKU folder and open the Create a physical sku request.
    In the body of the request, use the id object to specify a unique identifier for the SKU and click Send. A successful response contains an id value that matches the one in the request body.
Now that you've successfully performed a simple test request, you're ready to take a deeper dive into the Digital River API.
Last modified 4mo ago