Create a stocksAsk AIpost https://api.sinao.app/v1/apps/{appId}/productstocksCreate a new stocksPath ParamsappIdintegerrequiredThe identifier of the Sinao application you are using. Each application corresponds to a company and an accounting. A user can have several Sinao applications. To retrieve the identifiers of its applications, you must call the endpoint /apps.Query Paramsproduct_idintegerrequiredParent objectpurchase_idintegerPurchase that generated the stock if existsquantityintegerThe initial quantity will no longer be modifiable. To change the quantity manually, use the destruct endpointbar_codestringlocationstringentered_atdate-timeexpired_atdate-timecost_amountintegeruse_durationintegerUse duration in secondsResponses 200Success 404Not foundUpdated 5 months ago