The Commerce API speaks mainly in JSON. To ensure the API accepts and processes your requests, you'll typically set the content-type header to
All Commerce API requests are sent to
For more information on how Digital River ensures high availability and performance, see our Service Level Agreement.
This guide shows you how to start making Commerce API requests. By the end, you'll know how to obtain your API keys, import the Postman collection, and run each request. This collection provides the basic requests necessary to submit a simple order through the Commerce API.
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 one that is incorrect or outdated, 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:
Go to the Commerce API Postman Collection page on GitHub.
To install the Commerce API Postman Collection, click the Run in Postman button and select Postman for Windows.
Click the icon on the Commerce API Quick Start collection you just imported and select Edit.
In the Edit Collection window, select Variables.
Using the Current Value fields, enter the appropriate API key for each variable, and click Update.
Run each request individually or use the collection runner to run each one 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.