User's Meal Plan Settings (deprecated)
Mutation used to set the user's meal plan settings.
CAUTION: Legacy Endpoint!
The profileMealPlanSettings
mutation has been deprecated. Use the updateMealPlanSettings
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 generateMealPlan mutation or the customMealPlan mutation.
Use the mealPlan query to obtain the meal plan generated.
Arguments
Arguments | Type | Description |
|
| Total Calories per day |
|
| Percent of Carbs |
|
| Percent of Protein |
|
| Percent of Fat |
|
| Percent of Omega 3. If not included, the planner ignores this constraint. |
|
| Requested meals per day format, Available options are: |
|
| Margin of error (as a percentage) for calories and macros. Default: 0.1 |
Example
Last updated