Skip to main content

Delete Cart Item

Removes an item from the user's cart, given an item :id. This endpoint allows you to clear cart of the client.

DELETE /api/v1/client/cart/{id}

Path param

authorization : *bearer
REQUEST BODY SCHEMA: application/json


NameDescriptionRequiredType
idThe id of the item Requiredstring

Response

CodeDescription
201Details of the deleted cart item
409Unauthorized

Response Sample

Content type
application/json
[
{
"statusCode": 200,
"success": true,
"data": [
+ {...}
]
}
...
]