StoreController
| Base path | /api/inventory/stores |
| Module | Inventory & Portal |
| Endpoints | 7 |
| OpenAPI tag | Store |
| Source | backend/src/main/java/com/motorph/payroll/controller/StoreController.java |
Endpoints
| Method | Path | Requires | Handler |
|---|---|---|---|
GET | /api/inventory/stores | inventory.stores.view | listStores() |
GET | /api/inventory/stores/{id} | inventory.stores.view | getStore() |
POST | /api/inventory/stores | inventory.stores.manage | createStore() |
PUT | /api/inventory/stores/{id} | inventory.stores.manage | updateStore() |
DELETE | /api/inventory/stores/{id} | inventory.stores.manage | deactivateStore() |
GET | /api/inventory/stores/{id}/inventory | inventory.stores.view | getStoreInventory() |
PUT | /api/inventory/stores/{id}/inventory/{itemId} | inventory.stores.manage | adjustStoreInventory() |
Call chain
Dependencies
Constructor-injected by Lombok's @RequiredArgsConstructor: StoreService.
Tables reached
| Entity | Table | Tenant-scoped |
|---|---|---|
| InventoryItem | inventory_item | Yes |
| Store | store | Yes |
| StoreInventory | store_inventory | 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/.