The driver model contains the details pertaining to the driver/courier of an order.
Property | Type | Required | Description |
---|---|---|---|
name | string | true | Driver's full name. |
phone | string | true | Driver's phone #. |
photo | string | false | Driver's profile photo URL. |
profileImage | string | false | Driver's profile image. |
driverId | string | false | Driver Id. |
driverExternalId | string | false | Unique Id of the driver generated in your system and configured in our system. |
orgUnit | string | false | Driver's organization unit in DS. |