Skip to main content

Remove a cart line

DELETE 

/carts/:id/lines/:item

Relays shopping-cart DELETE /carts/{cartId}/lines/{catalogItemId}. No Idempotency-Key is required; when the page sends a valid one it is forwarded upstream minted like any command key (and Idempotency-Replayed may be set). A malformed one is not checked here.

Request​

Responses​

The upstream answer to a keyed command, relayed unchanged.

Response Headers
    Idempotency-Replayed

    Present, with the value true, only when the answer is a replay of a stored one (any upstream write hop of the composition was replayed).