PUT /api/v1/training/diet-plans/{diet-plan-id}/supplements/{supplement-id}
You can update a supplement from a diet plan using this API.
diet_plan_supplements.update
: to update supplements for your diet plansdiet_plans.update
: to be able to update your own diet planssupplement_id
: Id of the supplementamount
: How much to consume (integer)amount_unit
: A string to define the unit (.e.g. mg
, g
, etc.)description
: An optional description for the training service (maxlength 2000)after_meal_index
: Index of the meal to define after/with/before which meal should this be consumed<diet plan supplement resource>