Comment on page
🔎
Stock takings
This page provides a description of the available API routes for managing stock takings.
Stock taking (represented by
StockTaking
class) is a method to adjust stock quantities for various stock items (Plu
of type StockItem
). These adjustments can be made multiple times until the stock taking is marked as closed by providing values for the ClosedBy
and ClosedAt
fields. Once a stock taking is closed, it becomes read-only and cannot be reopened. To close a stock taking, ActualQuantity
must be provided for each item element (represented by StockTakingItem
class).After a stock taking is closed, the API server automatically generates a new stock transfer (represented by
StockTransfer
class) with the type correction
. This stock transfer is used to execute the necessary stock quantity corrections for the items involved in the stock taking process.get
http://{server-address}
/stocktakings
Get stock takings
get
http://{server-address}
/stocktakings/{id}
Get stock taking
post
http://{server-address}
/stocktakings
Create stock taking
put
http://{server-address}
/stocktakings/{id}
Create or update stock taking
delete
http://{server-address}
/stocktakings/{id}
Delete stock taking
Last modified 3mo ago