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

FieldTypeDescription
total_failed_ordersintTotal count of failed orders
pending_reviewintOrders awaiting review
auto_correctableintOrders that can be auto-corrected
requires_manualintOrders requiring manual intervention
by_priorityobjectBreakdown by priority level
by_sourceobjectBreakdown by order source
by_error_categoryobjectBreakdown by error type
recent_24hintNew failed orders in last 24 hours
resolved_todayintOrders resolved today
Request
GET /api/v1/status
Response