Skip to content

Postman collection for testing Digital River's Commerce API.

Notifications You must be signed in to change notification settings

DigitalRiver/commerce-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 

Repository files navigation

Commerce API Postman Collection

Welcome to the demo of the Commerce API! You can use this Postman collection to test our API offering, string together cart flows, and make calls to a test environment with a test API key provided to you by Digital River.

Documentation

You can find documentation for the Commerce API suite on our Doc Portal here: https://docs.digitalriver.com/commerce-api

Installation and Use

To install the API Demo, click the Run in Postman button below and select Postman for Windows:

Run In Postman

Alternatively, you can install the collection from your Postman client by selecting File -> Import and pasting this URL: https://raw.githubusercontent.com/DigitalRiver/commerce-api/master/Commerce%20API%20Postman%20Collection.json

Step 1: Obtain API credentials

Before you can start sending Commerce API requests, use the Request Demo form to start the site creation process and request your API keys or contact your Customer Success Manager.

  • To access Commerce API on a trial basis, state that you need a "test API key for the Commerce API suite."
  • To access the Shopper APIs and the Admin APIs collections, state that your "keys need permission to use both the Shopper APIs and the Admin APIs."

Digital River will reach out to you with more information. If you already have a Commerce API account, you can use your secret key to begin making API calls as well.

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 live mode or test mode. If you forget to provide your key or use an incorrect or outdated key, the API returns an error.

Step 2: Perform a test request

After you obtain your API keys, you'll want to perform some test requests. The following steps demonstrate how to do this:

Important: Make sure you install Postman before proceeding.

Complete the following steps:

  1. Select the Commerce API Quick Start collection and click on the Variables tab.
  2. Using the Current value fields, enter the appropriate API key for each variable.
  • apiDomain: For the production environment, enter api.digitalriver.com. For the client test environment (CTE) enter api-cte-ext.digitalriver.com.
  • publicApiKey: Provide the public API key provided by Digital River.
  • drjsApiKey: Provide the DigitalRiver.js key provided by Digital River.
  • confidentialApiKey: Provide the confidential API key provided by Digital River.
  • confidentialSecret: Provide the confidential secret provided by Digital River.
  1. Once you set up the variables, save the collection and run each request individually or use the collection runner to run each request sequentially.

Now that you've successfully performed a series of simple test requests, you're ready to take a deeper dive into the Commerce API.

Contact Us

If you have questions or concerns or if you want to move forward with Digital River, please visit our website at https://www.digitalriver.com/ and click Talk to Sales.

About

Postman collection for testing Digital River's Commerce API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •