Remove a cart line
remove_itemRemove a specific item line from your efood basket using its index, or clear the entire basket when removing the last line.
Instructions
Remove a single line from the basket by its index (see get_cart). Removing the last line clears the basket. Requires authentication.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| index | Yes | Zero-based index of the line to remove (from get_cart). | |
| restaurant_id | Yes | Shop/restaurant id. |