Skip to main content

Force-Fail Fulfillment Order Submission

POST 

/api/fulfillment-orders/:fulfillmentOrder/force-fail-submission

Operator recovery action for a FO that is stuck submitting when retrying is not appropriate (e.g. confirmed provider/carrier outage). Transitions request_status to rejected and records the supplied reason on rejection_reason. The FO drops out of the in-flight set so it can be cancelled or re-routed.

The FO detail/list payloads expose is_stuck_submitting (boolean) so the UI can surface the amber 'stuck dispatch' banner that drives this action.

Mutability gate. Allowed ONLY when request_status=submitting AND the FO is not terminal (status not closed/cancelled). Any other state returns 409.

Body fields:

  • reason (nullable, string, max 1000) — stored on rejection_reason for audit. Defaults to 'Force-failed by operator (stuck dispatch).' when omitted.

Request

Responses

OK

Response Headers
    Content-Type