Skip to content
Axis Solutions ZMB
YouTube

Update Stock Quantity

The UpdateStockQuantitiesAsync() method allows businesses to update stock quantities for items recorded in Smart Invoice. This includes adjustments resulting from approved purchases, imports, sales, and other stock movements.

Accurate stock updates ensure that inventory levels remain synchronized across branches and that reports reflect the correct quantities.

UpdateStockQuantitiesAsync() method

This method is used to update stock quantities for one or more items. It requires specifying the item code and the new remaining stock quantity after adjustments.

Request Parameters

ParameterTypeDescription
ItemCodestringThe unique code of the stock item to update
NewQuantitydecimalThe updated quantity of the item after adjustment
BranchIdstring (optional)Branch identifier (if updating stock at a specific branch)

Usage Example

classification codes

Example Successful Response

{
  "resultCd": "000",
  "resultMsg": "Stock quantity updated successfully",
  "resultDt": "20250911123000",
  "data": null
}