🛒 Ecommerce
Clear cart
The API endpoint allows a logged-in user to clear their entire shopping cart.
By invoking this API, the user can remove all items from their cart, effectively clearing it and starting afresh.
This feature provides a convenient way for users to manage their shopping carts and begin a new shopping session.
delete/ecommerce/cart/clear
Response
Clear cart
Example response
{
"data": [],
"message": "Cart has been cleared",
"statusCode": 200,
"success": true
}