Remove a cart line
DELETE/carts/:cartId/lines/:catalogItemId
RemoveLine. Idempotent by method (no Idempotency-Key). Clears the current delivery quote and selections.
Request
Responses
- 200
- 404
- 409
- 500
The updated cart.
not-found (no such cart or line, or an identifier over 128 characters; on a write it is not stored - the key is released and the same Idempotency-Key runs again, a cart or line can appear later) or resource-not-found (a NUL character in the path).
cart-closed (ErrCartClosed) or concurrent-update.
internal-error (an unexpected failure; the detail never carries the internal message).