Skip to main content

InventoryController

Base path/api/inventory
ModuleInventory & Portal
Endpoints38
OpenAPI tagInventory
Sourcebackend/src/main/java/com/motorph/payroll/controller/InventoryController.java

Endpoints​

MethodPathRequiresHandler
GET/api/inventory/dashboardinventory.dashboard.viewgetDashboard()
GET/api/inventory/categoriesinventory.items.viewlistCategories()
POST/api/inventory/categoriesinventory.items.managecreateCategory()
PUT/api/inventory/categories/{id}inventory.items.manageupdateCategory()
DELETE/api/inventory/categories/{id}inventory.items.managedeleteCategory()
GET/api/inventory/itemsinventory.items.viewlistItems()
GET/api/inventory/items/{id}inventory.items.viewgetItem()
GET/api/inventory/items/sku/{sku}inventory.items.viewgetItemBySku()
POST/api/inventory/itemsinventory.items.managecreateItem()
PUT/api/inventory/items/{id}inventory.items.manageupdateItem()
DELETE/api/inventory/items/{id}inventory.items.managedeleteItem()
GET/api/inventory/stockinventory.stock.viewlistStock()
GET/api/inventory/stock/lowinventory.stock.viewlistLowStock()
GET/api/inventory/stock/transactionsinventory.stock.viewlistTransactions()
POST/api/inventory/stock/transactionsinventory.stock.managecreateTransaction()
GET/api/inventory/suppliersinventory.suppliers.viewlistSuppliers()
GET/api/inventory/suppliers/{id}inventory.suppliers.viewgetSupplier()
POST/api/inventory/suppliersinventory.suppliers.managecreateSupplier()
PUT/api/inventory/suppliers/{id}inventory.suppliers.manageupdateSupplier()
DELETE/api/inventory/suppliers/{id}inventory.suppliers.managedeleteSupplier()
GET/api/inventory/warehousesinventory.locations.viewlistWarehouses()
GET/api/inventory/warehouses/{id}inventory.locations.viewgetWarehouse()
POST/api/inventory/warehousesinventory.locations.managecreateWarehouse()
PUT/api/inventory/warehouses/{id}inventory.locations.manageupdateWarehouse()
DELETE/api/inventory/warehouses/{id}inventory.locations.managedeleteWarehouse()
GET/api/inventory/locationsinventory.locations.viewlistAllLocations()
GET/api/inventory/warehouses/{warehouseId}/locationsinventory.locations.viewlistLocations()
POST/api/inventory/locationsinventory.locations.managecreateLocation()
PUT/api/inventory/locations/{id}inventory.locations.manageupdateLocation()
DELETE/api/inventory/locations/{id}inventory.locations.managedeleteLocation()
PATCH/api/inventory/locations/{id}/deactivateinventory.locations.managedeactivateLocation()
GET/api/inventory/warehouses/{id}/location-treeinventory.locations.viewgetLocationTree()
GET/api/inventory/warehouses/{id}/stock-by-locationinventory.locations.viewgetStockByLocation()
GET/api/inventory/receivinginventory.receiving.viewlistReceivings()
GET/api/inventory/receiving/{id}inventory.receiving.viewgetReceiving()
POST/api/inventory/receivinginventory.receiving.managecreateReceiving()
PATCH/api/inventory/receiving/{id}/completeinventory.receiving.managecompleteReceiving()
PATCH/api/inventory/receiving/{id}/cancelinventory.receiving.managecancelReceiving()

Call chain​

10 of 11 reachable repositories shown.

Dependencies​

Constructor-injected by Lombok's @RequiredArgsConstructor: InventoryDashboardService, InventoryItemService, InventoryStockService, WarehouseService, SupplierService, ItemCategoryService, PurchaseReceivingService.

Tables reached​

EntityTableTenant-scoped
InventoryIteminventory_itemYes
InventoryLotinventory_lotYes
InventoryStockinventory_stockYes
ItemCategoryitem_categoryYes
ItemSerialitem_serialYes
PurchaseReceivingpurchase_receivingYes
StockTransactionstock_transactionYes
SuppliersupplierYes
Userusers—
WarehousewarehouseYes
WarehouseLocationwarehouse_locationYes

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