Carrier
Creates a new Driver
Creates a new driver under the carrier identified by the carrierId path parameter.
post/carrier/{carrierId}/driver
Path parameters
carrierIdstring required
Id of the carrier
Request body
Example request
{
"first_name": "john",
"last_name": "doe",
"username": "fakedriver123",
"email": "fake@gmail.com",
"password": "TestDriver1234",
"carrier": "Cargomatic (demo)"
}Response
Status Code 200: Successful Response - the request was successful!
Example response
{
"data": {
"driverId": "64ac71ddb111de5422ff31ac"
}
}Changes
No recorded changes to this endpoint across all 2 revisions of this API.