GET
Auth Required
Dashboard Stats
Get aggregated statistics for the failed orders dashboard.
https://hoodsly-moc-api.wppool.dev/api/v1/failed-orders/dashboard-stats
Response
200 OK
{
"total_failed_orders": 15,
"pending_review": 5,
"auto_correctable": 3,
"requires_manual": 7,
"by_priority": {
"high": 4,
"medium": 6,
"low": 5
},
"by_source": {
"wordpress": 8,
"shopify": 4,
"magento": 3
},
"by_error_category": {
"required_field": 6,
"data_format": 5,
"validation": 4
},
"recent_24h": 3,
"resolved_today": 2
}
Response Fields
| Field | Type | Description |
|---|---|---|
total_failed_orders | int | Total count of failed orders |
pending_review | int | Orders awaiting review |
auto_correctable | int | Orders that can be auto-corrected |
requires_manual | int | Orders requiring manual intervention |
by_priority | object | Breakdown by priority level |
by_source | object | Breakdown by order source |
by_error_category | object | Breakdown by error type |
recent_24h | int | New failed orders in last 24 hours |
resolved_today | int | Orders resolved today |
Request
GET
/api/v1/status
Response