Charter
Shortcut API to create a chartered transport. Current transport, called "parent transport" will be chartered to a "child transport".
Child transport is created as follow:
-
Shipper is the actual carrier of the parent transport
-
Carrier is the chartered carrier given in the
carrier
parameter -
Trucker and plates are not set, but information about it can be given in the
instructions
parameters -
Other transport data (deliveries, segments, etc.) are duplicated
-
Child transport starts at the first segment's origin and ends at the last segment's destination
Operating instructions. The carrier, the shipper and the creator of the transport have access to those instructions. However, the creator is the only who has the right to edit.
Full price for the transport
250
POST /api/v4/transports/{uid}/charter/ HTTP/1.1
Host: api.dashdoc.eu
Authentication: YOUR_API_KEY
Content-Type: application/json
Accept: */*
Content-Length: 125
{
"carrier": {
"pk": 23498,
"remote_id": "text",
"carrier_contacts": "['abce-df123-acd4', 'dcbe-df153-dcd7']"
},
"instructions": "text"
}
Transport chartered successfully
{
"child_transport": "3545c058-392d-11eb-90c5-0242ac140006"
}
Last updated
Was this helpful?