Skip to content

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
string
Required

Responses​

Cart deleted

application/json
JSON
{
  
"ok": true,
  
"message": "string"
}

Playground​

Authorization
Headers
Variables
Key
Value

Samples​

Powered by VitePress OpenAPI

Tarifs : contactez-nous — contact@marketkit.ai