Cart
Remove Cart Item
Remove a specific item from the authenticated user’s cart
DELETE
Authentication
This endpoint requires authentication. Include a valid JWT token in the Authorization header.Path Parameters
The ID of the cart item to remove (not the product ID)
Response
Returns a204 No Content status on success with an empty response body.
Behavior
- Removes the specified cart item completely from the cart
- The cart item must belong to the authenticated user’s cart
- After removal, the cart will still exist but without that item
- Use the
DELETE /cart/clearendpoint if you want to remove all items at once
Error Responses
Cart Item Not Found (404)
- The cart item ID doesn’t exist
- The cart item belongs to another user’s cart