POST Auth Required

Resubmit Failed Order

Resubmit a failed order with corrected data to create a new order.

https://hoodsly-moc-api.wppool.dev/api/v1/failed-orders/{id}/resubmit

Request Body

JSON
{
    "order_data": {
        "billing": {
            "first_name": "John",
            "last_name": "Doe",
            "email": "john.doe@example.com",
            "phone": "(555) 123-4567",
            "address_1": "123 Main St",
            "city": "New York",
            "state": "NY",
            "postcode": "10001",
            "country": "US"
        },
        "shipping": {
            "first_name": "John",
            "last_name": "Doe",
            "address_1": "123 Main St",
            "city": "New York",
            "state": "NY",
            "postcode": "10001",
            "country": "US"
        },
        "products": [
            {
                "product_id": "PROD-001",
                "quantity": 2
            }
        ]
    }
}

Response

200 OK
{
    "message": "Order resubmitted successfully",
    "order": {
        "id": "new-order-uuid",
        "order_id": "WC-12348",
        "status": "pending",
        "created_at": "2026-01-06T12:00:00Z"
    },
    "failed_order_status": "resolved"
}
Request
GET /api/v1/status
Response