Skip to main content

ItemPriceController

Base path— (paths declared per handler)
ModuleInventory & Portal
Endpoints6
OpenAPI tagItemPrice
Sourcebackend/src/main/java/com/motorph/payroll/controller/ItemPriceController.java

Endpoints​

MethodPathRequiresHandler
GET/api/inventory/pricesinventory.prices.viewlistPrices()
GET/api/inventory/items/{itemId}/pricesinventory.prices.viewgetPricesForItem()
GET/api/inventory/prices/historyinventory.prices.viewgetHistory()
POST/api/inventory/pricesinventory.prices.managecreatePrice()
PUT/api/inventory/prices/{priceId}inventory.prices.manageupdatePrice()
DELETE/api/inventory/prices/{priceId}inventory.prices.managedeactivatePrice()

Call chain​

Dependencies​

Constructor-injected by Lombok's @RequiredArgsConstructor: ItemPriceService.

Tables reached​

EntityTableTenant-scoped
InventoryIteminventory_itemYes
ItemPriceitem_priceYes
ItemPriceHistoryitem_price_historyYes
Userusers—

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