---
title: "Edit own bowel movement entry"
method: PATCH
path: "/api/bowel-movements/{id}"
tags: ["Bowel Movements"]
---

# Edit own bowel movement entry

`PATCH /api/bowel-movements/{id}`

## 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/bowel-movements/{id}`
- Auth: HTTP bearer

## Path parameters

- `id` number, required

## Request body

- UpdateBowelMovementDto
  - `logged_at` string: ISO timestamp of the BM. Defaults to now. Accepts past timestamps for backfill (REW-410 pattern).
  - `bristol_type` number: Bristol Stool Scale 1-7. Optional — frequency-only logging is allowed.
  - `notes` string
  - `flags` BowelMovementFlagsDto
    - `blood` boolean: Visible blood in stool
    - `pain` boolean: Pain during or around the BM
    - `urgency` boolean: Strong urgency / rush
    - `incomplete` boolean: Felt incomplete

## Response `200`

---

[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)
