Create a stock adjustment row

Adds a row to an existing stock adjustment. The row takes the same fields as a row in
POST /stock_adjustments. Serial numbers are sent by id; create them first with POST /serial_numbers.
When the row quantity is negative, the item's average cost is used and cost_per_unit is ignored.

The request is refused with 422 when the stock adjustment is unknown, when it is linked to another document, when its
date is inside the closing period, or when an entry has a batch, serial number or bin location that is unknown. A
refused request adds no row.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
integer
required
≤ 2147483647
number
required
≤ 100000000000000000
integer
required
≤ 2147483647
number
≤ 1000000000000000000
traceability
array of objects

Batches, serial numbers and bin locations of the row. A serial number entry has quantity '1' on a row that adds stock and '-1' on a row that removes stock.

traceability
Responses

Language
Credentials
Bearer
LoadingLoading…
Response
Choose an example:
application/json