Create a daily intake goal for an specific nutritional indicator. The daily nutritional goals a user has will be taken into consideration to generate the intake recommendation (/v2/nutrition/getRecommendedDailyIntake). If a goal for the given nutrient already exists, it will be updated.
Note that creating a goal for the daily calorie intake ('ENERC_KCAL') will modify the amount of the recommended main nutrients the user should ingest, but the creation of goals for the main nutrients won't effect the total calories the user should ingest. Be careful when creating goals, make sure the goals match properly the relationship between all the nutritional indicators (e.g. An increment of calorie intake, implies an increment of carbohydrates, fats and protein).
A nutritional goal consists on two values that determine the quantity range the users should ingest through their meals.
The available indicators with their respective units can be found by using the endpoint '/v2/info/nutrients'.
Any custom nutritional indicator defined can also be set as a goal.