rami_levy_clear_cart
Empty the complete shopping cart locally and on the Rami Levy account. Get cart totals; if items are rejected, they are removed, so choose alternatives.
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.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||