Returns Processing API
The WMS-tier owner of the reverse flow in the warehouse-systems platform (ADR 0001, ADR 0002): authorize a return against a shipped order line (RMA), receive and grade the arriving goods (ReturnReceipt), and decide what happens to each inspected line (Disposition: RESTOCK, REFURBISH, LIQUIDATE, DISPOSE, RTV) from a versioned DispositionPolicy keyed on grade and product classification.
This service owns no stock: a RESTOCK disposition hands the goods to
inventory-storage by event (ReturnLineStaged, the shape of its
ReceiptLineReceived plus rma_id, disposition_id, site_id) and the
stow stays an RF action there. Every other outcome is recorded for audit
and touches no sibling. A line with no RMA is received as explicitly
UNEXPECTED and raises UnexpectedReturnReceived for exception-management.
Authorization facts (allocated lines, manifested work units, product
classifications) are read from local copies fed by events (ADR 0003); this
API never calls a sibling context. Events are published as CloudEvents on
warehouse.returns-processing.events through a transactional outbox (see
apis/asyncapi.yaml).
Errors are RFC 7807 problem documents with
type = https://errors.returns-processing.warehouse-systems.dev/<slug>.
There is no authentication layer (fleet decision 2026-09-11).
Contact returns-processing maintainers:
License