Stocks
Update a stocks
Update a stocks by id
post/apps/{appId}/productstocks/{id}
Path parameters
appIdinteger required
The 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.
idinteger required
ID of stocks
Query parameters
purchase_idinteger
Purchase that generated the stock if exists
bar_codestring
locationstring
entered_atstring date-time
expired_atstring date-time
cost_amountinteger
use_durationinteger
Use duration in seconds
Response
Success