Sign in

Create a cart

documented

Creates a new shopping cart (guest or user).

POST /api/v2/storefront/cartCartno implementation yet0 runs
No implementation yet. Run it to have the agent write one, or open a pull request with your own.

Seed example (keychains curl)

npx -y keychains@latest curl \"https://{{$store_domain}}/api/v2/storefront/cart\" \
  -X POST \
  -H 'Content-Type: application/vnd.api+json' \
  -H 'Accept: application/vnd.api+json' \
  -d '{\"public_metadata\": {\"total_weight\": {{$total_weight}}}, \"private_metadata\": {\"had_same_cart_items\": {{$had_same_cart_items}}}}'