SerialLotController
| Base path | /api/inventory |
| Module | Inventory & Portal |
| Endpoints | 5 |
| OpenAPI tag | SerialLot |
| Source | backend/src/main/java/com/motorph/payroll/controller/SerialLotController.java |
Endpoints
| Method | Path | Requires | Handler |
|---|---|---|---|
GET | /api/inventory/serials | inventory.serials.view | listSerials() |
POST | /api/inventory/serials | inventory.serials.manage | registerSerial() |
PATCH | /api/inventory/serials/{id}/status | inventory.serials.manage | patchSerialStatus() |
GET | /api/inventory/lots | inventory.serials.view | listLots() |
POST | /api/inventory/lots | inventory.serials.manage | registerLot() |
Call chain
Dependencies
Constructor-injected by Lombok's @RequiredArgsConstructor: SerialLotService.
Tables reached
| Entity | Table | Tenant-scoped |
|---|---|---|
| InventoryItem | inventory_item | Yes |
| InventoryLot | inventory_lot | Yes |
| ItemSerial | item_serial | Yes |
| WarehouseLocation | warehouse_location | Yes |
Generated page
This page is rebuilt from the source on every docs build by docs-site/scripts/gen-code-wiki.mjs. Editing it has no effect — change the code, or, if what you want to say is prose, write it in docs/.