πŸ›’ 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

Request

Response

Clear cart

messagestring
statusCodenumber
successboolean

Example response

{
  "data": [],
  "message": "Cart has been cleared",
  "statusCode": 200,
  "success": true
}

Changes

No recorded changes to this operation across all 1 revision of this API.