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: Monday: Lunch, slot 2 Tuesday: Breakfast, slot 1 and Lunch, slot 2 Wednesday: Breakfast, slot 1 and Lunch, slot 2 Thursday: Breakfast, slot 1 and Lunch, slot 2 Friday: Dinner, slot 3 Weekend: keep empty
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:
Allergies and Intolerance