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