rami_levy_clear_cart
Clear your Rami Levy shopping cart on both local and server accounts. Returns updated cart totals, and flags rejected items or stale orders so you can resolve them quickly.
Instructions
Empty the cart completely, both locally and on the real Rami Levy account. Returns cartTotal (local estimate) and serverTotal (Rami Levy's own total — authoritative). ok:false with a transport reason means nothing changed. reason items_rejected means the server refused the listed products; they have been removed from the cart too, so tell the user and pick alternatives. If resetAfterOrder {orderId, createdAt} is present, an order was placed since the last sync, so the items from before it were treated as bought and cleared first; tell the user the cart started fresh after that order.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||