Integration tutorial

Learn how configure the Digital River API.

When you sell physical or digital products through Digital River, you can use the Digital River API to:

  • Apply discounts

  • Store tracking information

  • Handle returns and refunds

The Digital River API also helps you calculate taxes and create orders. It consists of five main objects:

  • SKU (stock keeping unit)—A unique identifier for a purchasable item.

  • Customers—Customer information.

  • Checkout—A combination of customer information, payment information, and the SKUs that the customers want to purchase.

  • Order—A combination of the customer information and SKU information.

  • Fulfillments—A representation of the full or partial fulfillment (physical or digital) of an order.

Digital River lets you set the prices of SKUs on the checkout rather than on the SKU itself and automatically calculates tax. To get started with checkouts, you should define your SKUs. Once you have done this, you can create checkouts and orders.

The Orders endpoint works with other parts of the Digital River API. For example, creating an order creates a Charge object. Similarly, returning an order creates a refund—and a Refund object—for all or part of that charge as well as a Return object.