Delete a shopping cart by ID
DELETE/api/cart/:id
Delete a shopping cart using its ID.
Request
Path Parameters
id stringrequired
The ID of the cart to delete
Responses
- 200
Successful deletion of the cart
- application/json
- Schema
- Example (from schema)
- Example
Schema
any
{
"message": "The cart was deleted successfully"
}
{
"message": "The cart was deleted successfully"
}
Loading...