---
title: "Close Shop Time Entry"
method: POST
path: "/api/v1/shop-time-entries/{entry_id}/close"
tags: ["v1", "Shop Time", "shop-time"]
---

# Close Shop Time Entry

`POST /api/v1/shop-time-entries/{entry_id}/close`

## Request

- Base URL: `https://api.jeevyfabrication.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.jeevyfabrication.com/api/v1/shop-time-entries/{entry_id}/close`
- Auth: none declared

Close one shop session by id, at any age, cascading to its children.

The ordinary clock-out resolves the session through a 20h-windowed lookup,
so a forgotten shift older than that cannot be closed from the table. This
takes the row id the UI already has. Optional body: {"clock_out_at": iso}
to set the real end time; omitted, a stale shift closes at clock-in plus
the shop's standard day rather than at now().

snake_case, because fastApiBaseQuery rewrites request bodies on the way out
(see the coverage route below). This read was camelCase and silently always
None; no caller sends the field yet, so it never surfaced.

## Path parameters

- `entry_id` integer, required

## Request body

- object, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api.md) - [All operations](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api/llms.txt) - [OpenAPI document](https://skmtc.dev/jeevyfabrication/apis/bom-generation-api/revisions/ad9a01abeac9?raw)
