---
title: "Record Part Replaced Route"
method: POST
path: "/api/equipment/{equipment_id}/parts-replaced"
tags: ["equipment"]
---

# Record Part Replaced Route

`POST /api/equipment/{equipment_id}/parts-replaced`

## Request

- Base URL: `https://api.pigeonly.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.pigeonly.com/api/equipment/{equipment_id}/parts-replaced`
- Auth: none declared

A part replaced by hand, off the floor -- no document to parse, so
this is the direct-entry twin of `service_document_route`'s parsed
path. Both write the SAME `equipment_events` kind='part_replaced' row
shape (`service_manual.record_part_replacement`).

⛔APPENDED 2026-10-17: a part logged here also comes out of the parts
locker (`part_sourcing.record_replaced_from_the_locker`, Frederick: the
technician "logs the parts he changed, which removes them from the
locker"). `spares_left` is what the locker holds after it, or None when
no part number was given.

## Path parameters

- `equipment_id` string, uuid, required

## Request body

- PartReplacedRequest: The simple form on the Equipment page (docs/01_decisions/rulings/ 2026-09-30-rooster-is-the-ricoh-technician.md) -- the second of the two entry points that write a `part_replaced` event, alongside a parsed service document (`service.record_service_document`).
  - `part_name` string, required
  - `part_number` string, nullable
  - `page_count_at_replacement` integer, required
  - `cost_cents` integer, nullable
  - `who` string, nullable

## Response `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os.md) - [All operations](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/llms.txt) - [OpenAPI document](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/revisions/14571c4b7007?raw)
