Remove a cart item
DELETE
/cart/{cartId}/items/{itemId}
Deletes a single line item from the cart and invalidates the cart cache. Returns 204 No Content. Soft auth.
Auth: Bearer JWT optional (guest-friendly).
Authorizations
bearerAuth
Jeton client obtenu par POST /auth/login (ou /auth/register), renouvelé par POST /auth/refresh.
Type
HTTP (bearer)
or
Parameters
Header Parameters
x-account-id
Type
string
Path Parameters
cartId*
Type
Requiredstring
itemId*
Type
Requiredstring
Responses
Item removed
application/json
JSON "ok": true, "message": "string"
{
}