Schedule Lunch Menu Item (Admin)
schedule_lunch_menu_itemSet a menu item as orderable on a chosen date, optionally capping available portions.
Instructions
ADMIN: Puts a restaurant menu item on the orderable menu for a given date, optionally capping portions. This only schedules the item - to retire it entirely use update_restaurant_menu_item (is_active) or archive_restaurant_menu_item. Requires pac_cordinator or lunch_cordinator role. WRITE - confirm with the user. Get IDs from list_school_restaurants and list_restaurant_menu_items.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| menu_date | Yes | Date the item is orderable, YYYY-MM-DD | |
| menu_item_id | Yes | Menu item ID - from list_restaurant_menu_items | |
| available_qty | No | Maximum portions for the day; omit for unlimited | |
| restaurant_id | Yes | Restaurant ID - from list_school_restaurants |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Daily-menu entry ID | |
| menuDate | No | Date the item is orderable, YYYY-MM-DD | |
| menuItemId | No | Menu item scheduled | |
| availableQty | No | Portion cap for the day; null means unlimited |