create_random_meal
Generates a random meal for a specified date and meal type, following household meal plan rules. If no rules are set, returns any random meal.
Instructions
Create Random Meal
[POST /api/households/mealplans/random]
create_random_meal is a route that provides the randomized functionality for mealplaners.
It operates by following the rules set out in the household's mealplan settings. If no settings
are set, it will return any random meal.
Refer to the mealplan settings routes for more information on how rules can be applied to the random meal selector.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| body | Yes |