Same Piece Capture
Changed onThe "Same piece" answer. CHANGED 2026-11-23 (owner, Frederick: "it should accept the label that was printed out and do not print a new label out"; rule and refusals in intake/same_piece.py, ruling docs/01_decisions/rulings/2026-11-23-same-piece-keeps-the-printed-label.md):
- the photo's label has NOT printed: it is withdrawn (nothing prints) and the NEW capture is voided as below;
- the photo's label MAY be on paper: it is accepted, the NEW capture stands with it, and the EARLIER capture is voided (kept_label "new"), unless the pair is refused, in which case the NEW capture is voided and the label is thrown away as before.
Rule before 2026-11-23 (lead's decision 5, 2026-11-08, on INTAKE-V2-PARITY-1; FLR-178 void rule in docs/00_business_rules/FULFILLMENT_AND_FLOOR.md): the new capture is voided through captures.record_void, the one writer of a void, with the earlier intake ID written into the reason. Nothing is deleted and the earlier row is never touched: the record of what was photographed first stands. "This is a new piece" is NOT this route; it leaves the new capture standing.
422 when the two ids are the same capture, 404 when either capture does not exist. A second "Same piece" on an already-voided capture answers voided: false and keeps the first reason (the same rule as record_void). A read of the earlier row, then one UPDATE: the earlier capture is not locked, and it does not need to be, because nothing is changed on it.
Request
- Base URLhttps://api.pigeonly.com (the document declares no server; this is the origin it was published from)
- Authnone declared
Path parameters
Request body
A person says the envelope on the screen is the same piece as an earlier one.
OWNER, 2026-11-08 (lead's decision 5 on INTAKE-V2-PARITY-1; design "Looks like" / "Same piece"): the look-alike the server recorded as a NEW piece is a re-capture of the earlier one. Its id is the earlier capture's, the one the screen shows underneath.
Response
Successful Response
Changes
- info
endpoint added
- info