Clear Cart

Use the clearCart to clear the items from the cart

VajroSDK.actions.clearCart()

Responses

StatusResponse
Success{ "status": "success", "message": "Cart cleared successfully" }
Failed{ "status": "failed", "message": "Unable to clear the cart" }
Unexpected Error{ "status": "error", "errorId": 500, "errorHandle": "unknown-error", "message": "Something unexpected happened" }