Sign in

Add item to guest cart

documented

Add a product to a guest cart.

POST /rest/{store_code}/V1/guest-carts/{cartId}/itemsCartsno 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://{{$host}}/rest/{{$store_code}}/V1/guest-carts/{{$cartId}}/items" \
  -X POST \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{"cartItem": {"sku": "{{$sku}}", "qty": {{$qty}}, "quote_id": "{{$quote_id}}"}}'
Add item to guest cart · Adobe Commerce (Magento) · OpenIntegrations