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
Name | Description | Required | Type |
---|---|---|---|
id | The id of the item | Required | string |
Response
Code | Description |
---|---|
201 | Details of the deleted cart item |
409 | Unauthorized |
Response Sample
Content type
application/json
[
{
"statusCode": 200,
"success": true,
"data": [
+ {...}
]
}
...
]