v2

latestOpenAPI 3.0.0Apache 2.02026-07-2638645559.8 KB
Stocks

Consider part of the stock as back

Update the amount of stocks available through the return of rented stocks

post/apps/{appId}/productstocks/{id}/rental/back

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 required

Quantity to return in stocks

current_return_datestring date-time
use_durationinteger

Usage duration in seconds

commentstring

Response

Success

idinteger
quantity_ininteger
quantity_outinteger
bar_codeinteger
locationinteger
entered_atinteger
expired_atinteger
cost_amountinteger
initial_quantityinteger
use_durationinteger