User's Meal Plan Settings (deprecated)
Mutation used to set the user's meal plan settings.
Last updated
Was this helpful?
Mutation used to set the user's meal plan settings.
Last updated
Was this helpful?
CAUTION: Legacy Endpoint!
The profileMealPlanSettings
mutation has been deprecated. Use the instead.
Use the profileMealPlanSettings
mutation to update a user's meal plan settings.
Set this value to null if you want to "delete" these settings and default to use the user's goals on the meal plan.
To apply these settings to a meal plan, follow the steps below:
Execute the profileMealPlanSettings
mutation.
Generate your meal plan by executing the or the .
Use the query to obtain the meal plan generated.
Arguments
Type
Description
calories
Int!
Total Calories per day
carbsPerc
Float!
Percent of Carbs
proteinPerc
Float!
Percent of Protein
fatPerc
Float!
Percent of Fat
omega3Perc
Float
Percent of Omega 3. If not included, the planner ignores this constraint.
format
MealTimeType
Requested meals per day format, Available options are: BREAKFAST, SNACK, LUNCH, DINNER
error
Float!
Margin of error (as a percentage) for calories and macros. Default: 0.1