Clear Cart
Use the clearCart to clear the items from the cart
VajroSDK.actions.clearCart()Responses
| Status | Response |
|---|---|
| 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" } |
Updated 4 months ago