Scan Parcel
Changed onRequest
- Base URLhttps://api.pigeonly.com (the document declares no server; this is the origin it was published from)
- Authnone declared
Path parameters
Request body
What the scanner produced. A STRING, not a UUID.
This was parcel_id: UUID, which meant no real parcel QR could ever be scanned: the QR encodes v1's full_url (https://www.pigeonlycorrections.com/p/8P5XYY97), and a technician typing by hand enters the 8 characters printed on the label. Pydantic rejected both before the request reached a lookup — "Input should be a valid UUID, invalid character: found h at 1", the h of https.
Still accepts a UUID, because internal callers and older clients send one; resolve_scanned_parcel tries the code first, then that. APPENDED 2026-11-21: resolve_scanned_parcel is deleted; the scan reads the code first, then a UUID through piece.resolve_piece (part T10-parcel-lifecycle-11#2@P05).
Response
Successful Response
Changes
- warning
removed the request property
acknowledge_reprint
- warning