---
title: "Create the cart and transfer shopper"
method: POST
path: "/v1/shoppers/me/carts/active/web-checkout"
tags: ["Web Checkout"]
---

# Create the cart and transfer shopper

`POST /v1/shoppers/me/carts/active/web-checkout`

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.

## Query parameters

- `token` string
- `externalReferenceId` string
- `productId` string
- `themeId` string

## Request body

- WebCheckout
  - `cart` object
    - `lineItems` object
      - `lineItem` object
        - `quantity` string
        - `product` object
          - `id` string
          - `externalReferenceId` string
          - `companyId` string
    - `offers` object
      - `offerId` string

## Response `200`

Moved temporarily.

## Other responses

- `401` — * Invalid Token

---

[API](https://skmtc.net/digitalriver/apis/commerce-api-suite-shopper-apis.md) · [All operations](https://skmtc.net/digitalriver/apis/commerce-api-suite-shopper-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/digitalriver/commerce-api-suite-shopper-apis/revisions/4b69392f93b9/schema)
