Meal Plan Generation
This endpoint generates a meal plan for a specified period of time. How does it work?
- The daily caloric intake is calculated according to specific fields in the user’s profile, i.e. their height, weight, sex and activity levels
- The meal planner then composes a tailor made meal plan, composed of recipes taken from Whisk’s extensive and varied recipe database
To get and update the meal planner settings for each plan, use the following endpoints:
Meal generation settings can also be specified as part of the generation request, in which case the stored settings will be disregarded and overridden.
The number of servings, i,e, people, for which this meal plan is generated.
The daily caloric intake which will be used to generate the meal plan, with a ±100 kcal variance.
Specifies which meals are to be generated in which daily spot. E.g:
If set to true, meals that were custom-created using the Add Meal endpoint will not be overridden. Only empty daily slots or automatically generated meals will be filled with the newly generated ones.
To get and configure User profile you can use these endpoints:
This list of user profile preferences could impact the meal recommendation algorithm:
- Health goals
- Height, Weight
- Activity level
- Dietary Preferences
- Allergies and Intolerances
- Disliked Ingredients
- Cooking Preferences