Favorite Meals
Rename or edit a favorite meal
patch/api/favorite-meals/{id}
Request
- Base URLhttps://api.rewritelifestyle.ai (the document declares no server; this is the origin it was published from)
- URLhttps://api.rewritelifestyle.ai/api/favorite-meals/{id}
- AuthHTTP bearer
Path parameters
idnumber required
Request body
Example request
{
"name": "Morning Yogurt Bowl",
"meal_number": 1,
"meal_type": "breakfast",
"items": [
{
"food_name": "Chobani 0% Plain Greek Yogurt",
"serving_size": "1 cup",
"description": "non-fat, plain",
"calories": 130,
"protein": 23,
"carbs": 9,
"sugar": 6,
"sodium": 75,
"fatsecret_food_id": "12345",
"serving_id": "67890",
"brand": "Optimum Nutrition",
"barcode": "818290014894",
"notes": "Mixed with cold water, two scoops",
"serving_qty": 30,
"serving_unit": "g"
}
]
}Changes
No recorded changes to this operation across all 34 revisions of this API.