Archive Restaurant Menu Item (Admin)
archive_restaurant_menu_itemArchive a restaurant menu item to remove it from ordering while preserving it on historical orders. Use with restaurant_id and menu_item_id after confirming the destructive action.
Instructions
ADMIN: Archives (soft-deletes) a menu item so it can no longer be ordered - the item is removed from ordering but stays on historical orders. To retire it from the restaurant menu without archiving, use update_restaurant_menu_item with is_active=false. Requires pac_cordinator or lunch_cordinator role. DESTRUCTIVE operation - confirm with the user. Get restaurant_id from list_school_restaurants and menu_item_id from list_restaurant_menu_items.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| menu_item_id | Yes | Menu item ID - from list_restaurant_menu_items | |
| restaurant_id | Yes | Restaurant ID - from list_school_restaurants |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Menu item ID | |
| deleted | No | Whether the item was soft-deleted |