List drivers
Returns a paginated list of drivers. Each item includes compensationWilayaCount — the number of wilayas with a configured per-delivery fee for this driver.
query Parameters
wilayaIdFilter to drivers with a configured compensation row for this wilaya (1–58)
Filter to drivers with a configured compensation row for this wilaya (1–58)
statusFilter by availability status
Filter by availability status
vehicleTypeFilter by vehicle type
Filter by vehicle type
searchSearch by first name, last name, or phone
Search by first name, last name, or phone
limitMaximum number of results to return
Maximum number of results to return
offsetNumber of results to skip for pagination
Number of results to skip for pagination
List drivers › Responses
List of drivers
Create driver
Register a new delivery driver.
Create driver › Request Body
firstNamelastNamephone^0[5-7]\d{8}$ · requiredAlgerian mobile number starting with 05, 06, or 07
phone2^0[5-7]\d{8}$Optional secondary phone number
vehicleTypeType of vehicle. Omit or null if unknown.
statusAvailability status. Defaults to available.
notesInternal notes about the driver (not visible to customers)
Create driver › Responses
Driver created. Returns full driver record including compensationWilayaCount and recentShipments.
successDelivery driver profile with denormalized earnings statistics
messageGet driver
Returns full driver detail: compensationWilayaCount, recentShipments (the 10 most recent orders given to this driver, newest first), openShipmentCount (orders still out) and cashReconciliation (the cash counter against the delivered shipments not yet handed over). Use GET /{id}/compensations for the per-wilaya pay grid.
path Parameters
idDriver ID
Driver ID
Get driver › Responses
Driver detail
successDelivery driver profile with denormalized earnings statistics
Update driver
Partial update — only include fields you want to change. Use PATCH /{id}/status to change availability status. Set phone2, vehicleType, or notes to null to clear them.
path Parameters
idDriver ID
Driver ID
Update driver › Request Body
firstNamelastNamephone^0[5-7]\d{8}$Algerian mobile number starting with 05, 06, or 07
phone2^0[5-7]\d{8}$Updated secondary phone. Send null to clear it.
vehicleTypeUpdated vehicle type. Send null to clear it.
notesUpdated internal notes. Send null to clear.
Update driver › Responses
Driver updated. Returns full updated driver record.
successDelivery driver profile with denormalized earnings statistics
messageDelete driver
Permanently deletes a driver who never had an order. 409 while the driver has orders out (DRIVER_HAS_ACTIVE_ORDERS — finish or take them back first) or has past deliveries (DRIVER_HAS_SHIPMENTS — set the driver inactive instead).
path Parameters
idDriver ID
Driver ID
Delete driver › Responses
Driver deleted
successmessageUpdate driver status
Updates driver availability status. Returns the full updated driver record.
path Parameters
idDriver ID
Driver ID
Update driver status › Request Body
statusNew availability status for the driver
Update driver status › Responses
Status updated
successDelivery driver profile with denormalized earnings statistics
messageList driver compensations
Returns all 58 wilayas with the driver's configured per-delivery fee. feePerDelivery is null when no row has been configured for that wilaya (in which case the assigned order's driver fee defaults to 0).
path Parameters
idDriver ID
Driver ID
List driver compensations › Responses
Per-wilaya compensation grid for this driver.
successUpsert driver compensation for one wilaya
Sets (or updates) the per-delivery fee this driver is paid for the given wilaya. Idempotent.
path Parameters
idDriver ID
Driver ID
wilayaIdWilaya ID (1–58)
Wilaya ID (1–58)
Upsert driver compensation for one wilaya › Request Body
feePerDeliveryDZD per delivery in this wilaya.
Upsert driver compensation for one wilaya › Responses
Compensation saved.
successmessageRemove driver compensation for one wilaya
Removes the per-delivery fee row for this driver/wilaya pair. Future assignments in that wilaya will compute driverFee = 0 until a new row is set.
path Parameters
idDriver ID
Driver ID
wilayaIdWilaya ID (1–58)
Wilaya ID (1–58)
Remove driver compensation for one wilaya › Responses
Compensation removed.
successmessage