Recerc

Create cart

Creates a new cart for the current session and makes it active.

POST/api/carts/{handle}/create

Creates a new cart for the current session and makes it active.

Path Parameters

handle*string

Stable handle used in routes and lookups.

Example"starter-catalog"

Request Body

application/json

Request payload for Create cart.

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json