Retrieve Carriers
Returns
Response Object object
Response object child attributes
idIntegerUnique identifier for the carrier.
personalIdStringInternal personal ID associated with the carrier.
nameStringFull name of the carrier, e.g. "Driver Abc".
codeNameStringOptional code name assigned to the carrier. Can be empty.
phoneNumberStringCarrier's contact phone number in E.164 format, e.g. "+44555777000".
companyIdIntegerIdentifier for the company the carrier belongs to.
areaIdIntegerIdentifier for the operational area assigned to the carrier.
isOnShiftBoolean
trueif the carrier is currently on shift; otherwisefalse.
StringEmail address for the carrier, e.g. "kalam@shipday.com".
carrierPhotoStringURL to the carrier’s profile photo.
isActiveBoolean
trueif the carrier is active and allowed to receive orders.
carrrierLocationLatFloatLast known latitude of the carrier's location.
carrrierLocationLngFloatLast known longitude of the carrier's location.
Example Response
[
{
"id": 108418,
"personalId": "123",
"name": "Driver Shammo",
"codeName": "",
"phoneNumber": "+44555777000",
"companyId": 41207,
"areaId": 41189,
"isOnShift": false,
"email": "shammo@shipday.com",
"carrierPhoto": "https://myurl/ca842047bf324c6eaab5db2b0297d054.png",
"isActive": true,
"carrrierLocationLat": 23.7729884,
"carrrierLocationLng": 90.3595206
},
{
"id": 342163,
"personalId": "",
"name": "Test Driver another one",
"codeName": "",
"phoneNumber": "+8801973391748",
"companyId": 41207,
"areaId": 41189,
"isOnShift": false,
"email": "versatileanthem@gmail.com",
"carrierPhoto": null,
"isActive": true,
"carrrierLocationLat": null,
"carrrierLocationLng": null
}
]