For AI agents: the docs index is at https://developer.katanamrp.com/llms.txt. Append .md to any documentation page URL to get its markdown version.
| Attribute | Description |
|---|
id | Unique identifier for the object. |
stock_adjustment_id | ID of the stock adjustment the row belongs to. |
variant_id | ID of product or material variant added to the stock adjustment row. |
quantity | The quantity by which the stock is adjusted. |
cost_per_unit | Unit cost of the item. The default value is set to the current average cost of the item in stock. When the quantity is negative, the average cost is always used. |
traceability | An array of allocation entries describing how the adjusted quantity is split across batches, serial numbers, and bin locations. |
traceability.batch_id | ID of the batch the allocation is drawn from. Null when the allocation is untraced or serial-tracked. Mutually exclusive with serial_number_id. |
traceability.serial_number_id | ID of the serial number for the allocation. Null when the allocation is untraced or batch-tracked. Mutually exclusive with batch_id. |
traceability.bin_location_id | ID of the bin location the stock is adjusted in. Null when not bin-tracked. |
traceability.quantity | Decimal string quantity for the allocation entry. Required for stock adjustments. A serial number entry has quantity 1 on a row that adds stock and -1 on a row that removes stock. |
deleted_at | The timestamp when the stock adjustment row was deleted. |