Failed Orders API
Recovery system for orders that failed validation. Provides tools for reviewing, correcting, and resubmitting failed orders.
Endpoints
| Method | Endpoint | Description |
|---|---|---|
| GET | /api/v1/failed-orders | List failed orders |
| GET | /api/v1/failed-orders/{id} | Get failed order details |
| PUT | /api/v1/failed-orders/{id} | Update failed order |
| POST | /api/v1/failed-orders/{id}/validate | Validate (dry run) |
| POST | /api/v1/failed-orders/{id}/resubmit | Resubmit order |
| POST | /api/v1/failed-orders/{id}/auto-correct | Auto-correct errors |
| GET | /api/v1/failed-orders/{id}/suggestions | Get field suggestions |
| GET | /api/v1/failed-orders/{id}/timeline | Get order timeline |
| POST | /api/v1/failed-orders/bulk-action | Bulk actions |
| GET | /api/v1/failed-orders/dashboard/stats | Dashboard stats |
Validation Status
| Status | Description |
|---|---|
failed | Validation failed, needs correction |
pending_review | Awaiting manual review |
resolved | Successfully resubmitted |
Request
GET
/api/v1/status
Response