This endpoint enables the targeted removal of individual items from specific menus, allowing businesses to fine-tune their menu offerings and respond quickly to inventory changes or business requirements.
Deleting menu items immediately affects customer-facing systems and may impact ongoing orders. Consider the timing and customer impact before removing items from active menus.
{ "message": "Item removed from menu successfully", "success": true}
Menu Item Deletion Strategies
Immediate Removal
Remove items that are no longer available
Handle emergency inventory shortages
Respond to food safety or quality concerns
Remove discontinued products quickly
Planned Removal
Coordinate with inventory management
Time removal with promotional end dates
Plan around customer usage patterns
Coordinate with marketing campaigns
Gradual Phase-Out
Remove from new customer-facing menus first
Maintain availability for existing orders
Allow for inventory depletion
Minimize customer experience disruption
Order Impact: Items removed from menus may still be available for modification of existing orders depending on your order management configuration.
Batch Operations: For removing multiple items, consider using the bulk menu update endpoints rather than individual deletion calls to improve performance.
{ "error": "Invalid menu or item", "message": "Menu ID or item ID not found or not associated", "details": { "menu_id": "813f8ac7-cae5-4d2d-92ef-d6798547f95c", "item_id": "invalid-item-id" }}
Permission Denied
Copy
{ "error": "Permission denied", "message": "Insufficient permissions to delete items from this menu"}
Item Not in Menu
Copy
{ "error": "Item not found in menu", "message": "The specified item is not currently associated with this menu"}
Business Rule Violation
Copy
{ "error": "Business rule violation", "message": "Item cannot be removed due to active promotions or pending orders", "details": { "active_promotions": 2, "pending_orders": 5 }}