Web checkout
Transfer the shopper to the Digital River-hosted storefront pages. The response returns 302 with a location to the Digital River-hosted storefront pages.
Provide the authorized or anonymous token for a shopper.
Provide the external reference identifier for your product. The externalReferenceId is your company's internal identifier or stock keeping unit (SKU) for a product.
Provide comma-separated list of one or more product identifiers to include in the response.
Provide the theme identifier for your site.
GET /v1/shoppers/me/carts/active/web-checkout HTTP/1.1
Host: api.digitalriver.com
Accept: */*
No content
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.
Provide the authorized or anonymous token for a shopper.
Provide the external reference identifier for your product. The externalReferenceId is your company's internal identifier or stock keeping unit (SKU) for a product.
Provide comma-separated list of one or more product identifiers to include in the response.
Provide the theme identifier for your site, as it determines the visual style of your Digital River-hosted web page.
POST /v1/shoppers/me/carts/active/web-checkout HTTP/1.1
Host: api.digitalriver.com
Content-Type: application/json
Accept: */*
Content-Length: 164
{
"cart": {
"lineItems": {
"lineItem": {
"quantity": "15",
"product": {
"id": "12345",
"externalReferenceId": "12345",
"companyId": "company"
}
}
},
"offers": {
"offerId": "1234567890"
}
}
}
No content
Last updated