# Update a day

> Marks a day as fully or partly logged, or clears the mark. Its meals don't change.

`PATCH /days/{day}`

Needs the **Read and write** permission.

## Body

| Field | Type | Description |
| --- | --- | --- |
| `logging` | string or null | Required. `partial` when some of what you ate that day isn't logged, `complete` when all of it is, or `null` to clear the mark. One of `complete` or `partial`. |

A day can be marked once it has started somewhere in the world, so today works in every timezone and later days don't.

## Response

`200` with the [day](https://splot.health/docs/api/days/object) after the change.

## Example

```sh
curl -X PATCH https://app.splot.health/v1/days/2026-10-14 \
  -H "Authorization: Bearer $SPLOT_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{ "logging": "partial" }'
```
