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.
You can find documentation for the Commerce API suite on our Doc Portal here: https://docs.digitalriver.com/commerce-api
To install the API Demo, click the Run in Postman button below and select Postman for Windows:
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
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.
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:
- Select the Commerce API Quick Start collection and click on the Variables tab.
- 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) enterapi-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.
- 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.
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.