Release notes

Keep track of changes and updates to the Commerce API.

V1 is the base version of the Commerce API. The following dates indicate when we released updates to this version.

2021/7/27

You can now use the Delayed Payment Instructions element to generate a template that contains the instructions that explain how to complete payment for delayed payment types such as Konbini and Wire Transfer.

2021/7/26

You can now customize and control your subscription email notifications through events notifications and webhooks. This feature allows you to control your communications with your consumers, including integrating the capabilities of leading notification providers.

2021/7/7

We added the ability to create a trial subscription for a subscription product and configure trial renewal reminders in Global Commerce.

2021/7/2

We added support for Pay in 3 to the PayPal payment method.

2021/6/22

We added the applyEmailToSubscriptions parameter to POST /v1/shoppers/me in the Shopper API. When you send the POST /v1/shoppers/me/?applyEmailToSubscriptions=true request and provide the emailAddress in the request body, all active and inactive subscription shipping and billing email addresses will be updated when you update the shopper's subscription billing and shipping email addresses.

2021/6/3

2021/5/18

  • We add test and use cases to help you when you're developing and testing the Commerce API and your commerce connector.

  • We updated the error codes that provide you with:

    • Additional credit card decline reason codes and metadata responses. You can then perform reporting and analytics to better understand why authorizations are declined so you can optimize your business.

    • Greater visibility into why a transaction failed, reducing the work you need to do to determine why the transaction failed.

    • Data points to determine when you should or shouldn't retry a renewal attempt. This feature categorized credit card decline reason codes into two categories: "soft" and "hard declines."

2021/5/14

We added Site Management to the Commerce API Reference that includes the following resources:

2021/5/6

You can now programmatically retrieve a list of your site's authorized billing or shipping countries using your Global Commerce user credentials.

2021/4/29

We replaced Supported geographies for each payment method in DigitalRiver.js with Supported markets. To find information on supported markets and currencies for Drop-in and DigitalRiver.js, go to:

2021/4/27

2021/3/31

  • We added information on how to sell subscriptions with add-ons and manage subscriptions.

  • Digital River Clients now can extend a branded, fully managed line of credit program to their business buyers that is engineered to increase purchase frequency, average order values, brand loyalty, and cashflow, while mitigating risk. By offering TreviPay you cultivate a consumer-like purchase experience for buyers, so they can purchase what they need now and pay later with net terms – all online. Learn how you can offer TreviPay to your buyers!

2020/3/30

You can now use thechargeType in a Cart without a subscription line item to initiating a charge.

2021/3/11

We added the continue type to the list of button types for Drop-in and made it the default type in Customizing the text of the Drop-in button.

2021/3/10

2021/3/9

We updated the information on landed cost.

2021/2/1

  • We improved the error format for transactional errors using a credit card saved in the payment source and added a declined message (declinedMessage) to provide more information.

  • We moved the description of API keys from the Commerce API Reference to Best practices.

2021/1/15

You can now use the authenticateSource method to determine whether the saved payment source selected by a customer during the checkout process requires Strong Customer Authentication (SCA).

2021/1/12

2021/1/8

We added information on creating a cart with a perpetual unit price using POST /v1/shoppers/me/carts/active/line-items resource.

2021/1/6

A note to Apply shopper to cart stating this method requires an authenticated shopper token.

2021/1/5

We added the best practices for using the Commerce API that includes Authentication, Creating authenticated shopper tokens, Caching responses, Capturing the customer's IP address, and Elements.

2020/12/30

You can now modify a subscription during a midterm change. That includes applying a midterm change with price override, assigning a perpetual price, or reducing the subscription quantity.

2020/12/28

We updated the supported geographies for Klarna to show the minimum and maximum order amount and the payment method type.

2020/12/16

We updated the examples and added information on how to create a merchant-initiated transaction (MIT) in Providing subscription information.

2020/12/10

We added more custom styles for styling an element container in DigitalRiver.js.

2020/11/30

We added error types to Error types, codes, and objects.

2020/11/19

We added support for Pay in 4 to the PayPal payment method.

2020/11/17

2020/11/10

We added a list of error codes for DigitalRiver.js.

2020/11/6

  • As part of the PSD2 Strong Customer Authentication (SCA) initiative, payment processors require extra information when processing merchant-initiated credit card transactions. To ensure that you adhere to the new mandate, you can now make use of billing agreements.

  • You can now update subscription information in the LineItem array to the POST/carts, POST /line-items, or POST /line-items/{lineItemsId} requests.

2020/10/29

You can now subscribe to receive the latest Commerce API information.

2020/10/28

You can now apply a shipping discount to a customer's order

2020/10/14

2020/10/12

We added information on the tax identifier element to DigitalRiver.js.

2020/10/1

We added support for Union Pay to Credit Cards.

2020/9/30

2020/9/24

We added support for the Korea – PayCo payment methods.

2020/9/23

We added support for the Klarna payment method.

2020/9/18

We updated the Drop-in documentation.

2020/9/9

2020/8/11

We updated the API error codes.

2020/8/10

We now provide a list of IP addresses we use to send Webhook notifications. You'll need to open your firewall to these IP addresses.

2020/8/5

2020/6/02

  • The initial value for termsOfSaleAcceptance is now null if tosAccepted is null in the database.

  • We now provide a breakdown of the tax fee at the line-item level for Carts, Orders, and Submit Cart.

  • Changed the lineItem under DefaultCart to an array.

  • Changedfee to feeTax under lineItem.pricing.

  • Added the feePricing object under ExpandedLineItem.

  • Added the LineItemFeePricing schema for feePricing under ExpandedLineItem.

2020/5/20

  • Added phonetic fields to the billing and shipping addresses.

  • Added the following schemas:

    • PostShopperAddressRequest for the request body of the shopper's address

    • BillingAddress for the response body of the billing address

    • ShippingAddress for the response body of the billing address

  • Updated the response for PUT billing and shipping address to 204 No Content.

  • Added phonetic fields to the following schemas: DefaultAddress and ExpandedAddress.

2020/5/7

2020/05/04