latestOpenAPI 3.0.02026-08-101013821017.9 KB

4b69392f93b9

Web Checkout

Create the cart and transfer shopper

Create the cart and transfers the shopper to the Digital River-hosted storefront pages. The response returns 302 with a location to the Digital River-hosted storefront pages.

post/v1/shoppers/me/carts/active/web-checkout

Query parameters

tokenstring

Provide the authorized or anonymous token for a shopper.

externalReferenceIdstring

Provide the external reference identifier for your product. The externalReferenceId is your company's internal identifier or stock keeping unit (SKU) for a product.

productIdstring

Provide comma-separated list of one or more product identifiers to include in the response.

themeIdstring

Provide the theme identifier for your site, as it determines the visual style of your Digital River-hosted web page.

Request body

Example request

{
  "cart": {
    "lineItems": {
      "lineItem": {
        "quantity": "15",
        "product": {
          "id": "12345",
          "externalReferenceId": "12345",
          "companyId": "company"
        }
      }
    },
    "offers": {
      "offerId": "1234567890"
    }
  }
}

Response

Moved temporarily.