curl --request POST \
  --url https://dev.api.fleet.usedora.com/api/v1/riders/change_status/%7B{rider_uuid}%7D
{
"status": "success",
"data": {
    "uuid": "9dbb0847-a2ba-4cdb-b904-72fd9ab2f3bc",
    "riderid": "45689646",
    "name": "Nice Chimaobi",
    "address": "Aso housing estate, lugbe",
    "phone_number": "08028492844",
    "phone_code": "234",
    "email": "king@gmail.com",
    "vehicle_plate_number": "Ae93480G",
    "photo": "https://usedora-bucket-dev.s3.amazonaws.com/photos/oNhnn9x1fxoiPkJ3kbJUxYWNa6L4iusIChYI2B8G.jpg",
    "total_completed_delivery": 0,
    "active": false,
    "created_at": "2023-12-03T07:47:46.000000Z"
}
}

📝 Summary

This endpoint activates a rider’s account, allowing them to start accepting and completing delivery tasks. It is typically used after verifying the rider’s details and compliance with platform requirements.


📥 Requests

Body

📤 Response

✅ 200 OK
❌ 422 Bad Request
{
"status": "success",
"data": {
    "uuid": "9dbb0847-a2ba-4cdb-b904-72fd9ab2f3bc",
    "riderid": "45689646",
    "name": "Nice Chimaobi",
    "address": "Aso housing estate, lugbe",
    "phone_number": "08028492844",
    "phone_code": "234",
    "email": "king@gmail.com",
    "vehicle_plate_number": "Ae93480G",
    "photo": "https://usedora-bucket-dev.s3.amazonaws.com/photos/oNhnn9x1fxoiPkJ3kbJUxYWNa6L4iusIChYI2B8G.jpg",
    "total_completed_delivery": 0,
    "active": false,
    "created_at": "2023-12-03T07:47:46.000000Z"
}
}