Override a disposition with a reason
POST/dispositions/:dispositionId/overrides
Creates a NEW Disposition that supersedes the given one, carrying the
original's receipt line, grade and quantity, the operator's outcome
and a mandatory reason (400 override-reason-required when blank).
An outcome outside the five values is 400 invalid-policy. The
original decision is never mutated. A RESTOCK override raises its
own ReturnLineStaged (idempotent on its disposition id). Requires an
Idempotency-Key.
Request
Responses
- 200
- 400
- 404
- 409
- 500
The superseding Disposition.
Response Headers
Present, with the value true, only when the answer is a replay of the stored answer of an earlier request with the same Idempotency-Key.
Malformed JSON body, an unknown field, a NUL byte in the body, or an invalid path, query or header parameter.
No RMA, receipt or disposition has this identity.
The command is refused by the domain rules, another request changed the resource first, or the Idempotency-Key was reused.
Unexpected server error.