# Changelog

## 2026-10-14
- Warehouse `scan_product` can now record whether a unit is damaged, using the optional `is_damaged` field (0 = OK, the default; 1 = damaged). The new column is `order_delivery_item_products.is_damaged`.
- New `POST /api/v1/warehouse/deliveries/get_scan_list` lists a variant's collected units, each with its scan state: not scanned, OK or damaged.
- New `POST /api/v1/warehouse/deliveries/get_scanned_product` is a read-only lookup by QR code. It returns the same data as `scan_product` without saving anything.
- Details: [changes/2026-10-14-warehouse-damaged-scan.md](changes/2026-10-14-warehouse-damaged-scan.md)
- API guide for app developers: [api/warehouse-verification-api.md](api/warehouse-verification-api.md)
