Lease

Lease a trucker

post

Give access to your trucker from another carrier Dashdoc account.

The trucker will be seen as a rented trucker in the other carrier account. We will call this one the tenant carrier. The difference from creating it as a rented trucker in the web app is the trucker's pk is the same in the tenant carrier account and can be used to assign the trucker to a transport. In case you delete your own trucker, this one won't be available anymore for the tenant carrier.

Prerequisite: the tenant carrier account and your own have to be reachable from one another (partner link, see with your Dashdoc project manager).

Authorizations
Path parameters
pknumberRequired
Body
Responses
200
Empty body
post
POST /api/v4/manager-truckers/{pk}/lease/ HTTP/1.1
Host: api.dashdoc.eu
Authentication: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 50

{
  "tenant_carrier": {
    "pk": 23498,
    "remote_id": "text"
  }
}

No content

Last updated

Was this helpful?