Stocks
Consider part of the stock as rented
Updates the quantity of available stocks and provides for a stocks return date
post/apps/{appId}/productstocks/{id}/rental/exit
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
quantityinteger
Quantity to rent
future_return_datestring date-time
commentstring
Response
Success