Skip to main content

Dismiss Unmatched Return

POST 

/api/returns/reconciliation/:returnReceipt/dismiss

Acknowledge a received return's residual unlinked lines and drop it from the unmatched returns list.

A receipt stays unmatched while any one of its lines is unlinked, so a batch with (say) 31 of 32 lines linked stays open indefinitely because of one item that will never match. Dismissing records who dismissed it, when, and an optional reason.

Dismissal is bookkeeping only: inventory, the authorization links already made, and the receipt's reconciliation status are all left untouched, and the receipt can be restored at any time. Dismissed receipts stay retrievable via filter[dismissed]=only (or =all) on List Unmatched Returns.

Body: reason (optional string, max 500 characters).

Returns 422 if the receipt is already dismissed, or if it is linked to a return authorization and therefore never appeared on the unmatched list.

Requires a Bearer token and the returns.update permission.

Request

Responses

OK

Response Headers
    Content-Type