---
title: "One-tap quick-log: insert one food_logs row per bundle item, bump log_count/last_logged_at"
method: POST
path: "/api/favorite-meals/{id}/log"
tags: ["Favorite Meals"]
---

# One-tap quick-log: insert one food_logs row per bundle item, bump log_count/last_logged_at

`POST /api/favorite-meals/{id}/log`

## Request

- Base URL: `https://api.rewritelifestyle.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.rewritelifestyle.ai/api/favorite-meals/{id}/log`
- Auth: HTTP bearer

## Path parameters

- `id` number, required

## Request body

- LogFavoriteMealDto
  - `log_date` string: Local date YYYY-MM-DD
  - `log_time` string: Local time HH:MM:SS
  - `timezone` string
  - `meal_number` number: Override the favorite's default meal slot

## Response `201`

---

[API](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api.md) - [All operations](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rewritelifestyle/apis/rewrite-lifestyle-api/revisions/28695827f27a?raw)
