STOCK_WRITE_OFF:UPDATEcurl --location --request PUT 'https://mock.apidog.com/m1/1388340-0-default/api/v1/stock-write-offs/' \
--header 'Content-Type: application/json' \
--data '{
"accountingAccountId": 3482,
"details": [
{
"detailId": 449115,
"cost": 0.0769
}
]
}'{
"id": 0,
"number": 0,
"establishmentId": 0,
"establishmentName": "string",
"date": "2019-08-24",
"reason": "string",
"status": "ENTERED",
"accountingAccountId": 0,
"total": 0,
"createdBy": "string",
"createdAt": "2019-08-24T14:15:22.123Z",
"updatedBy": "string",
"updatedAt": "2019-08-24T14:15:22.123Z",
"details": [
{
"id": 0,
"productId": 0,
"productReference": "string",
"productName": "string",
"quantity": 0,
"cost": 0,
"previousCost": 0,
"total": 0,
"lotNumber": "string",
"detail": "string"
}
]
}