Delete (abandon) a cart
DELETE
/cart/{cartId}
Deletes the entire cart and invalidates its 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
Responses
Cart deleted
application/json
JSON "ok": true, "message": "string"
{
}