Skip to main content

Preview Return Receipt Release Impact

POST 

/api/return-receipts/preview-release-impact

Read-only preview of which back-ordered sales orders this return receipt would release, per restock-to-sellable line. Send the same payload you would POST to create the receipt; each line that restocks sellable stock is resolved to its product and the receive warehouse and evaluated against waiting back-ordered demand. Nothing is written.

Each row describes one product the receive would restock. releasable_quantity is the number of incoming units that can be released to back-ordered demand; orders[] are the back-ordered sales orders that would be filled; held_back[] is demand that stays back-ordered, with reason_kept explaining why (e.g. "Insufficient supply").

Body: the same shape as Create Return Receipt. Minimum: warehouse_id and one return_receipt_lines entry with product_id, quantity, and action. release_backorders (true/false/null) mirrors the receive call's release control.

Authentication: Requires Bearer token. Requires the returns.receive permission.

Request

Responses

OK

Response Headers
    Content-Type