Stocks
Destruct a quantity of stock (forgotten, destructed, expirated stock...)
Update a stocks by id to reduce quantity of stocks
post/apps/{appId}/productstocks/{id}/destruct
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 destruct
commentstring
Response
Success