Remove Item From Cart
Command to remove an item from a shopping cart.
/carts/{cartId}/items/{productId}Overview
RemoveItemFromCart is handled by the Cart APICart APIServicev1.0.0The public-facing API for shopping carts. Handles commands to add and remove items and to check out, and publishes an ev...Publishescart-checked-out, calculate-discountSubscribesadd-item-to-cart, remove-item-from-cart +1APIsOpenAPIOwnershopping-platformMapRepoView docs. It removes an item from the cart (or decreases its quantity) and persists the change to the Cart DatabaseCart DatabaseContainerv1.0.0
PostgreSQL database that is the system of record for shopping carts and their items.MapView docs.
Architecture diagram
Schema
JSON Schema
Command to remove an item from a shopping cart
Unique identifier of the cart
Identifier of the product to remove
Number of units to remove. If omitted, removes the item entirely.
1