POST /api/v1/training/diet-plans/{diet-plan-id}/supplements
You can create a supplement for a diet plan using this API.
diet_plan_supplements.create
: to create 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>