Skip to main content

Change the quantity of a cart line

PATCH 

/carts/:id/lines/:item

Relays shopping-cart PUT /carts/{cartId}/lines/{catalogItemId} (replace the line quantity). A PATCH, so it requires an Idempotency-Key.

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).