Transfer Cart to Customer

POST/store/:storeCode/carts/:id/customer
publishable keyJWT

Transfer the cart to the logged-in customer.

Path Parameters
storeCoderequiredstring

Store slug in the URL (first argument to every SDK store method).

idrequiredstring

The cart's ID.

Query Parameters
fieldsstring

Comma-separated fields to include. Prefix with `*` to expand a relation (e.g. `id,*variants`).

Response

Status

200OK

Schema

Copy
HttpTypes.StoreCartResponse

Properties

cartrequiredStoreCart

The transferred cart.