11. Stocks and token check

The stock methods use a different address prefix: {base_url}/api/stocks/ (without /v1/integ).

MethodHTTP methodFunctionRequired role
PastStockMonitoringReportByProductPOSTA distributor's historical stock, broken down by product and warehouseIntegration.Stocks.GetPastStockMonitoringReportByProduct
GetWarehouseStockPOSTProduct stocks per warehouse (case/box/piece)Integration.Stocks.GetWarehouseStock
GetDistSalesPOSTMonthly sales and return quantities of all distributorsIntegration.Stocks.GetDistSales
GetDistStockGETCurrent stocks of all distributorsIntegration.Stocks.GetDistStock
account/checkPOSTValidates the token and renews it if expiredNo role required

Methods in this chapter