Nutrition Menus

Partially update a nutrition menu. Does not cascade: copies duplicated from this menu are left untouched, unlike the dashboard which offers to push the edit down to them.

patch/api/public/nutrition-menus/{menuId}

Path parameters

menuIdstring required

Headers

Idempotency-Keystring

Optional. Send a unique key (e.g. a UUID) to make this POST safe to retry. The same key within 24h returns the original result instead of creating a duplicate.

Request body

namestring
descriptionstring
goal'Weight Loss' | 'Muscle Gain' | 'Weight Maintenance' | 'Other'
type'Vegetarian' | 'Vegan' | 'Keto' | 'Paleo' | 'Low Carbs' | 'Gluten Free' | 'Mediterranean'
totalCaloriesnumber
totalProteinnumber
totalCarbsnumber
totalFatnumber
applyToAllSharedTraineesboolean

Required (true) to edit a menu shared by multiple trainees; the change then applies to all of them. Without it, a shared menu returns 409.

Response

Successful response

Changes

No recorded changes to this endpoint across all 1 revision of this API.