Skip to main content

Add a line to the cart

POST 

/carts/:id/lines

Relays shopping-cart POST /carts/{cartId}/lines with a minted 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).