Failed Orders API

Recovery system for orders that failed validation. Provides tools for reviewing, correcting, and resubmitting failed orders.

Endpoints

MethodEndpointDescription
GET/api/v1/failed-ordersList 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}/validateValidate (dry run)
POST/api/v1/failed-orders/{id}/resubmitResubmit order
POST/api/v1/failed-orders/{id}/auto-correctAuto-correct errors
GET/api/v1/failed-orders/{id}/suggestionsGet field suggestions
GET/api/v1/failed-orders/{id}/timelineGet order timeline
POST/api/v1/failed-orders/bulk-actionBulk actions
GET/api/v1/failed-orders/dashboard/statsDashboard stats

Validation Status

StatusDescription
failedValidation failed, needs correction
pending_reviewAwaiting manual review
resolvedSuccessfully resubmitted
Request
GET /api/v1/status
Response