Reclassify Capture
Changed onA person changes a recalled piece's decision by touch; the history is kept, the new answer returned.
OWNER, 2026-10-27, verbatim: "if I bring back parcel number 5 to the camera view, it should bring parcel number 5 ... and then allow me to manually tap the screen in DLO or whatever else I want to do." Plan OI-INTAKE-102 part 3; rule FLR-174 history 2026-10-31 (docs/00_business_rules/FULFILLMENT_AND_FLOOR.md).
THREE RULES LIVE HERE, all in intake/domain.reclassify_refusal (a FOURTH is the envelope-only switch below):
- A privilege piece is never changed to Keep by a person (409). Ruling 2026-10-27-privilege-is-return-to-sender, kept by the owner: "Privilege is still a return to sender. So privilege is not a different category." CORRECTED 2026-11-07 (owner, live, IN-N62B285P: "Trying to change this to DLO because it's actually a true DLO ... it doesn't allow me to do anything."): a privilege piece MAY be changed to Return, Hold or DLO, and it keeps its privilege reason, so Keep stays refused on every later touch. The refusal names its reason (domain.REFUSAL_WORDS); the station never shows only "That change was refused."
- A piece a person has stopped CAN be changed (CORRECTED 2026-11-07, owner: "I thought stop was to change decision"). The change clears the stop in the same write and keeps it in the history row (captures.record_reclassify, stop_before), so no stale stop label is left over the new decision. The 2026-11-01 refusal (PR 10077 review) is answered that way; ruling 2026-11-07-keep-by-tapping-the-decision.
- A change to keep names its facility by code (CORRECTED 2026-11-07, owner: "If you select keep then you have to enter the facility code"). A named facility_code must be a live facility (captures.facility_named_by_code), or the answer is 422 with the words. A facility named with any other bin is 422 (domain.keep_facility_problem). The station always asks for the code on a keep and shows the matched name before the person confirms (GET /api/intake/facilities/{code}). The server requires a facility on the piece (its own, or the code named), not the code in every body: that is the writer's keep_needs_facility (422), so privilege still answers 409 first.
The change, its history row (intake_capture_reclassifications: who, when, from what to what) and the read-back are one transaction (captures.record_reclassify). The row is the record, so the next photo of the same sticker shows the new answer (recall.by_sticker reads the row; 2026-11-03: the cache is gone). The machine never re-decides a changed row (hold_reread._UPDATE_SQL). 404 when there is no such capture, 422 on a decision that is not one of the four bins.
A FIFTH EFFECT (owner, Frederick, 2026-11-18, ruling 2026-11-18-a-sent-to-scan-piece-prints-its-label): a change to KEEP (Scan) queues the piece's intake ID sticker at the desk the request came from, once (intake_sticker.queue_keep_sticker). A refusal there is logged and never undoes the change.
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's change of one recalled piece's decision: the bin they tapped.
OWNER, 2026-10-27: "allow me to manually tap the screen in DLO or whatever else I want to do." The four values are intake/domain.RECLASSIFY_DECISIONS; anything else is a 422, never a silent write.
Response
Successful Response
Changes
- info
added the new optional request property
name_on_envelope
- info
- info
added the new optional request property
person_note - info
added the new optional request property
person_reason
- info