---
title: "Scan Parcel"
method: POST
path: "/api/fulfillment/wizard/boxes/{shipment_id}/scan"
tags: ["fulfillment"]
---

# Scan Parcel

`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)
- URL: `https://api.pigeonly.com/api/fulfillment/wizard/boxes/{shipment_id}/scan`
- Auth: none declared

## Path parameters

- `shipment_id` string, uuid, required

## Request body

- ScanParcelRequest: 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 `200`

Successful Response

- object

## Other responses

- `422`: Validation Error

## Changes

- **2026-10-17** `42026c2988f5`: 1 warning
  - removed the request property `acknowledge_reprint`

[Operation history](https://skmtc.dev/pigeonly/apis/roost-v2-pigeonly-company-os/changes/api/fulfillment/wizard/boxes/:shipment_id/scan/post.md)

---

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