fulfillment
post/api/fulfillment/wizard/boxes/{shipment_id}/scan

Request

  • Base URL
    https://api.pigeonly.com (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Path parameters

shipment_id, string uuid required

Request body

ScanParcelRequest required

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).

parcel_id, string required

Response

Successful Response

object required

Changes