Preview Receipt Line Quantity Change
GET//:domain/api/v2/warehouse-transfers/receipts/:receipt/lines/:line/quantity-preview
Preview the implications of changing a warehouse transfer receipt line quantity without persisting any changes.
Returns:
delta— change vs. current quantityrequires_confirmation— true if the user must confirm before savingcan_update— false when blocking conditions existblocks.above_shipped— true if the new quantity exceeds the parent shipment line's shipped quantity (minus other receipts against the same shipment line)blocks.above_transfer_line— true if the new quantity exceeds the parent warehouse transfer line quantity (minus other receipts against the same shipment line)caps.shipped_quantity— shipment line shipped quantitycaps.transfer_line_quantity— warehouse transfer line quantitycaps.other_receipts_total— total received on the same shipment line via other receipts (excluding the line being edited)caps.max_quantity— minimum ofshipped - other_receipts_totalandtransfer_line - other_receipts_totalimplications.shipment_quantity— shipment line quantity is NOT mutated by a receipt editimplications.transfer_quantity— warehouse transfer line quantity is NOT mutated by a receipt editimplications.in_transit_quantity— recomputed in-transit at destination after editinventory— FIFO usage / redistribution preview (when decreasing)
Request
Responses
- 200
OK
Response Headers
Content-Type