create_random_meal
Create a random meal entry based on household meal plan rules. Specify a date and optional meal type to receive a randomized meal suggestion.
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 |