Use the following objects to create a meal plan template.
MPTFromDaysInput
Use the MPTFromDaysInput object to copy an existing meal plan
Field Name
Type
Description
fromDate
Date
Date from which the meal plan will be copied
profileId
ID
A base64 user profile ID
toDate
Date to which the meal plan will be created
MPTCustomOptionsInput
Use the MPTCustomOptionsInput object to send the parameters in the same way as if the customMealPlan sends.
customMealPlan
calories
Int
Total Calories per day
carbsPerc
Percent of Carbs
fatPerc
Percent of Fat
program
Program ID
proteinPerc
Percent of Protein
MPTFromScratchInput
Use the MPTFromScratchInput object to create a meal plan template from scratch.
recipeId
A unique base64ID of the recipe
mealType
Possible values: BREAKFAST, SNACK, LUNCH, DINNER
BREAKFAST
SNACK
LUNCH
DINNER
servings
Servings quantity
Last updated 4 years ago
Was this helpful?