Deliveries
Last updated
Last updated
Get successful
const response = await fetch('https://api.dashdoc.eu/api/v4/deliveries/', {
method: 'GET',
headers: {},
});
const data = await response.json();
{
"count": 1,
"next": "text",
"previous": "text",
"results": [
{
"uid": "text",
"sequential_id": 1240993,
"remote_id": "text",
"tracking_id": "text",
"origin": {
"uid": "687cddac-dbd2-11ea-9024-0242ac130006",
"remote_id": "text",
"address": {
"pk": 23498,
"name": "Transport Bouvet",
"address": "3 rue des champs",
"city": "Nantes",
"postcode": "44000",
"country": "FR",
"latitude": -52.5561625,
"longitude": 92.896504,
"coords_validated": false,
"is_demo": false,
"is_carrier": false,
"is_shipper": false,
"is_origin": false,
"is_destination": false,
"created_by": {
"pk": 25,
"name": "Transport Bouvet"
},
"created_by_user": {
"pk": 34,
"display_name": "Jean Pierre Bouvet",
"company": 25,
"trucker_id": 95
},
"created": "2020-12-22T15:31:39.26167Z",
"instructions": "text",
"remote_id": "text",
"company": {
"pk": 928,
"remote_id": "text",
"created": "2020-07-30T21:10:06.445510Z",
"updated": "2020-07-30T21:10:06.44551Z",
"deleted": false,
"invoicing_remote_id": "COMP_456",
"name": "Transport Bouvet",
"phone_number": "0601020304",
"email": "i.love.dashdoc@gmail.com",
"siren": "123456789",
"trade_number": "text",
"country": "FR",
"comments": "text",
"vat_number": "text",
"is_verified": false,
"settings_transport_order_observations": "text",
"settings_constrain_reference_edition": false,
"account_type": "text",
"logo": "text",
"primary_address": {
"pk": "text",
"name": "Transport Bouvet",
"address": "3 rue des champs",
"city": "Nantes",
"postcode": "44000",
"country": "FR",
"latitude": -52.5561625,
"longitude": 92.896504,
"coords_validated": false,
"is_demo": false,
"is_carrier": false,
"is_shipper": false,
"is_origin": false,
"is_destination": false,
"created_by": 0,
"created": "2020-07-30T21:10:06.44551Z",
"instructions": "text",
"remote_id": "text"
},
"managers": [
{
"pk": 928,
"user": {
"email": "adele.bouvet@gmail.com",
"first_name": "Adèle",
"last_name": "Bouvet"
},
"display_name": "text",
"role": "text"
}
],
"has_loggable_managers": false
}
},
"real_start": "2020-12-22T15:31:39.26167Z",
"real_end": "2020-12-22T15:31:39.26167Z",
"signature_process": "sign_on_glass",
"instructions": "text",
"reference": "text",
"action": "text",
"eta": "text",
"eta_tracking": false,
"punctuality_status": "text",
"supports_exchanges": {
"uid": "123e4567-e89b-12d3-a456-426614174000",
"site": {
"uid": "123e4567-e89b-12d3-a456-426614174000",
"remote_id": "text"
},
"support_type": {
"name": "Palettes",
"created": "2020-12-22T15:31:39.26167Z",
"uid": "c8e4cc62-446a-11eb-a759-0242ac130005",
"remote_id": "text"
},
"expected_retrieved": 10,
"actual_retrieved": 10,
"expected_delivered": 10,
"actual_delivered": 10,
"observations": "1 broken",
"remote_id": "text"
},
"category": "text",
"slots": [
{
"start": "2024-04-27T04:56:20.791Z",
"end": "2024-04-27T04:56:20.791Z"
}
],
"trucker_instructions": "text"
},
"destination": {
"uid": "687cddac-dbd2-11ea-9024-0242ac130006",
"remote_id": "text",
"address": {
"pk": 23498,
"name": "Transport Bouvet",
"address": "3 rue des champs",
"city": "Nantes",
"postcode": "44000",
"country": "FR",
"latitude": -52.5561625,
"longitude": 92.896504,
"coords_validated": false,
"is_demo": false,
"is_carrier": false,
"is_shipper": false,
"is_origin": false,
"is_destination": false,
"created_by": {
"pk": 25,
"name": "Transport Bouvet"
},
"created_by_user": {
"pk": 34,
"display_name": "Jean Pierre Bouvet",
"company": 25,
"trucker_id": 95
},
"created": "2020-12-22T15:31:39.26167Z",
"instructions": "text",
"remote_id": "text",
"company": {
"pk": 928,
"remote_id": "text",
"created": "2020-07-30T21:10:06.445510Z",
"updated": "2020-07-30T21:10:06.44551Z",
"deleted": false,
"invoicing_remote_id": "COMP_456",
"name": "Transport Bouvet",
"phone_number": "0601020304",
"email": "i.love.dashdoc@gmail.com",
"siren": "123456789",
"trade_number": "text",
"country": "FR",
"comments": "text",
"vat_number": "text",
"is_verified": false,
"settings_transport_order_observations": "text",
"settings_constrain_reference_edition": false,
"account_type": "text",
"logo": "text",
"primary_address": {
"pk": "text",
"name": "Transport Bouvet",
"address": "3 rue des champs",
"city": "Nantes",
"postcode": "44000",
"country": "FR",
"latitude": -52.5561625,
"longitude": 92.896504,
"coords_validated": false,
"is_demo": false,
"is_carrier": false,
"is_shipper": false,
"is_origin": false,
"is_destination": false,
"created_by": 0,
"created": "2020-07-30T21:10:06.44551Z",
"instructions": "text",
"remote_id": "text"
},
"managers": [
{
"pk": 928,
"user": {
"email": "adele.bouvet@gmail.com",
"first_name": "Adèle",
"last_name": "Bouvet"
},
"display_name": "text",
"role": "text"
}
],
"has_loggable_managers": false
}
},
"real_start": "2020-12-22T15:31:39.26167Z",
"real_end": "2020-12-22T15:31:39.26167Z",
"signature_process": "sign_on_glass",
"instructions": "text",
"reference": "text",
"action": "text",
"eta": "text",
"eta_tracking": false,
"punctuality_status": "text",
"supports_exchanges": {
"uid": "123e4567-e89b-12d3-a456-426614174000",
"site": {
"uid": "123e4567-e89b-12d3-a456-426614174000",
"remote_id": "text"
},
"support_type": {
"name": "Palettes",
"created": "2020-12-22T15:31:39.26167Z",
"uid": "c8e4cc62-446a-11eb-a759-0242ac130005",
"remote_id": "text"
},
"expected_retrieved": 10,
"actual_retrieved": 10,
"expected_delivered": 10,
"actual_delivered": 10,
"observations": "1 broken",
"remote_id": "text"
},
"category": "text",
"slots": [
{
"start": "2024-04-27T04:56:20.791Z",
"end": "2024-04-27T04:56:20.791Z"
}
],
"trucker_instructions": "text"
},
"shipper_address": {
"pk": 23498,
"name": "Transport Bouvet",
"address": "3 rue des champs",
"city": "Nantes",
"postcode": "44000",
"country": "FR",
"latitude": -52.5561625,
"longitude": 92.896504,
"coords_validated": false,
"is_demo": false,
"is_carrier": false,
"is_shipper": false,
"is_origin": false,
"is_destination": false,
"created_by": 1738,
"created": "2020-12-22T15:31:39.26167Z",
"instructions": "text",
"remote_id": "text",
"company": {
"pk": 928,
"remote_id": "COMP_123",
"name": "Transport Bouvet",
"trade_number": "12345678901234",
"country": "FR",
"settings_contract_html": "text",
"settings_logo": "text",
"settings_stamp": "text",
"settings_print_mode": false,
"settings_special_agreements": "text",
"settings_transport_order_observations": "text",
"settings_constrain_reference_edition": false,
"vat_number": "FR123456789",
"is_verified": false
},
"original": 2085
},
"planned_loads": [
{
"uid": "text",
"remote_id": "text",
"description": "text",
"round_id": 0,
"weight": 0,
"volume": 0,
"volume_display_unit": "m3",
"linear_meters": 0,
"quantity": 0,
"category": "bulk",
"dangerous_goods_category": "1",
"is_dangerous": false,
"adr_un_code": "text",
"legal_mentions": "text",
"complementary_information": "text",
"container_number": "text",
"tare_weight": 0,
"container_seal_number": "text",
"refrigerated": false,
"temperature": "text",
"steres": 0,
"idtf_number": "text",
"use_identifiers": false,
"identifiers": [
"AX000123"
],
"identifiers_observations": "Missing codes: 1234, 3456"
}
],
"loads": [
{
"uid": "text",
"remote_id": "text",
"description": "text",
"round_id": 0,
"weight": 0,
"volume": 0,
"volume_display_unit": "m3",
"linear_meters": 0,
"quantity": 0,
"category": "bulk",
"dangerous_goods_category": "1",
"is_dangerous": false,
"adr_un_code": "text",
"legal_mentions": "text",
"complementary_information": "text",
"container_number": "text",
"tare_weight": 0,
"container_seal_number": "text",
"refrigerated": false,
"temperature": "text",
"steres": 0,
"idtf_number": "text",
"use_identifiers": false,
"identifiers": [
"AX000123"
],
"identifiers_observations": "Missing codes: 1234, 3456"
}
],
"origin_loads": [
{
"uid": "text",
"remote_id": "text",
"description": "text",
"round_id": 0,
"weight": 0,
"volume": 0,
"volume_display_unit": "m3",
"linear_meters": 0,
"quantity": 0,
"category": "bulk",
"dangerous_goods_category": "1",
"is_dangerous": false,
"adr_un_code": "text",
"legal_mentions": "text",
"complementary_information": "text",
"container_number": "text",
"tare_weight": 0,
"container_seal_number": "text",
"refrigerated": false,
"temperature": "text",
"steres": 0,
"idtf_number": "text",
"use_identifiers": false,
"identifiers": [
"AX000123"
],
"identifiers_observations": "Missing codes: 1234, 3456"
}
],
"destination_loads": [
{
"uid": "text",
"remote_id": "text",
"description": "text",
"round_id": 0,
"weight": 0,
"volume": 0,
"volume_display_unit": "m3",
"linear_meters": 0,
"quantity": 0,
"category": "bulk",
"dangerous_goods_category": "1",
"is_dangerous": false,
"adr_un_code": "text",
"legal_mentions": "text",
"complementary_information": "text",
"container_number": "text",
"tare_weight": 0,
"container_seal_number": "text",
"refrigerated": false,
"temperature": "text",
"steres": 0,
"idtf_number": "text",
"use_identifiers": false,
"identifiers": [
"AX000123"
],
"identifiers_observations": "Missing codes: 1234, 3456"
}
],
"tracking_contacts": [
{
"uid": "text",
"contact": {
"uid": "687cddac-dbd2-11ea-9024-0242ac130006",
"created": "2020-12-22T15:31:39.26167Z",
"company": {
"pk": 23498,
"remote_id": "text",
"name": "Transport Bouvet",
"trade_number": "text",
"country": "FR",
"settings_contract_html": "text",
"settings_logo": "text",
"settings_stamp": "text",
"settings_print_mode": false,
"settings_special_agreements": "text",
"settings_transport_order_observations": "text",
"settings_constrain_reference_edition": false,
"vat_number": "text",
"is_verified": "text"
},
"first_name": "text",
"last_name": "text",
"email": "name@gmail.com",
"phone_number": "text",
"fax_number": "text",
"remote_id": "CONTACT_123"
},
"subscribed_to_status_updates": false
}
],
"shipper_reference": "text",
"multiple_rounds": false
}
]
}
Loads as planned before the transport has been started
List of contacts that will automatically receive an email when delivery is done. The role of each contact will be determined by matching its company to a company on the transport (carrier, shipper, pick-up, delivery).
Reference the client may use to match transport on his own system, e.g. an order number.
If true, the trucker will be able to do a signature at loading, then add any amount of rounds for the transport (with weight/volume and weight ticket), and finish with a signature at unloading.
Update successful
Dashdoc's internal id.
eCMR number
Deprecated
Loads as planned before the transport has been started
Loads as they are most recently defined. This means it is:
equal to planned_loads
before loading is actually done
equal to origin_loads
after loading is done (with details validated by trucker), but unloading is not done yet
equal to loads_loads
after unloading is actually done (with details validated by trucker)
Loads as validated by trucker right after loading is done
Loads as validated by trucker right after unloading is done
List of contacts that will automatically receive an email when delivery is done
Reference the client may use to match transport on his own system, e.g. an order number. The transport's creator can toggle a setting to only allow himself to set it.
If true, the trucker will be able to do a signature at loading, then add any amount of rounds for the transport (with weight/volume and weight ticket), and finish with a signature at unloading.
const response = await fetch('https://api.dashdoc.eu/api/v4/deliveries/{uid}/', {
method: 'PATCH',
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({
"origin": {},
"shipper_address": {
"address": "3 rue des champs",
"city": "Nantes",
"company": {},
"country": "FR",
"postcode": "44000"
}
}),
});
const data = await response.json();
{
"uid": "text",
"sequential_id": 1240993,
"remote_id": "text",
"tracking_id": "text",
"origin": {
"uid": "687cddac-dbd2-11ea-9024-0242ac130006",
"remote_id": "text",
"address": {
"pk": 23498,
"name": "Transport Bouvet",
"address": "3 rue des champs",
"city": "Nantes",
"postcode": "44000",
"country": "FR",
"latitude": -52.5561625,
"longitude": 92.896504,
"coords_validated": false,
"is_demo": false,
"is_carrier": false,
"is_shipper": false,
"is_origin": false,
"is_destination": false,
"created_by": {
"pk": 25,
"name": "Transport Bouvet"
},
"created_by_user": {
"pk": 34,
"display_name": "Jean Pierre Bouvet",
"company": 25,
"trucker_id": 95
},
"created": "2020-12-22T15:31:39.26167Z",
"instructions": "text",
"remote_id": "text",
"company": {
"pk": 928,
"remote_id": "text",
"created": "2020-07-30T21:10:06.445510Z",
"updated": "2020-07-30T21:10:06.44551Z",
"deleted": false,
"invoicing_remote_id": "COMP_456",
"name": "Transport Bouvet",
"phone_number": "0601020304",
"email": "i.love.dashdoc@gmail.com",
"siren": "123456789",
"trade_number": "text",
"country": "FR",
"comments": "text",
"vat_number": "text",
"is_verified": false,
"settings_transport_order_observations": "text",
"settings_constrain_reference_edition": false,
"account_type": "text",
"logo": "text",
"primary_address": {
"pk": "text",
"name": "Transport Bouvet",
"address": "3 rue des champs",
"city": "Nantes",
"postcode": "44000",
"country": "FR",
"latitude": -52.5561625,
"longitude": 92.896504,
"coords_validated": false,
"is_demo": false,
"is_carrier": false,
"is_shipper": false,
"is_origin": false,
"is_destination": false,
"created_by": 0,
"created": "2020-07-30T21:10:06.44551Z",
"instructions": "text",
"remote_id": "text"
},
"managers": [
{
"pk": 928,
"user": {
"email": "adele.bouvet@gmail.com",
"first_name": "Adèle",
"last_name": "Bouvet"
},
"display_name": "text",
"role": "text"
}
],
"has_loggable_managers": false
}
},
"real_start": "2020-12-22T15:31:39.26167Z",
"real_end": "2020-12-22T15:31:39.26167Z",
"signature_process": "sign_on_glass",
"instructions": "text",
"reference": "text",
"action": "text",
"eta": "text",
"eta_tracking": false,
"punctuality_status": "text",
"supports_exchanges": {
"uid": "123e4567-e89b-12d3-a456-426614174000",
"site": {
"uid": "123e4567-e89b-12d3-a456-426614174000",
"remote_id": "text"
},
"support_type": {
"name": "Palettes",
"created": "2020-12-22T15:31:39.26167Z",
"uid": "c8e4cc62-446a-11eb-a759-0242ac130005",
"remote_id": "text"
},
"expected_retrieved": 10,
"actual_retrieved": 10,
"expected_delivered": 10,
"actual_delivered": 10,
"observations": "1 broken",
"remote_id": "text"
},
"category": "text",
"slots": [
{
"start": "2024-04-27T04:56:20.791Z",
"end": "2024-04-27T04:56:20.791Z"
}
],
"trucker_instructions": "text"
},
"destination": {
"uid": "687cddac-dbd2-11ea-9024-0242ac130006",
"remote_id": "text",
"address": {
"pk": 23498,
"name": "Transport Bouvet",
"address": "3 rue des champs",
"city": "Nantes",
"postcode": "44000",
"country": "FR",
"latitude": -52.5561625,
"longitude": 92.896504,
"coords_validated": false,
"is_demo": false,
"is_carrier": false,
"is_shipper": false,
"is_origin": false,
"is_destination": false,
"created_by": {
"pk": 25,
"name": "Transport Bouvet"
},
"created_by_user": {
"pk": 34,
"display_name": "Jean Pierre Bouvet",
"company": 25,
"trucker_id": 95
},
"created": "2020-12-22T15:31:39.26167Z",
"instructions": "text",
"remote_id": "text",
"company": {
"pk": 928,
"remote_id": "text",
"created": "2020-07-30T21:10:06.445510Z",
"updated": "2020-07-30T21:10:06.44551Z",
"deleted": false,
"invoicing_remote_id": "COMP_456",
"name": "Transport Bouvet",
"phone_number": "0601020304",
"email": "i.love.dashdoc@gmail.com",
"siren": "123456789",
"trade_number": "text",
"country": "FR",
"comments": "text",
"vat_number": "text",
"is_verified": false,
"settings_transport_order_observations": "text",
"settings_constrain_reference_edition": false,
"account_type": "text",
"logo": "text",
"primary_address": {
"pk": "text",
"name": "Transport Bouvet",
"address": "3 rue des champs",
"city": "Nantes",
"postcode": "44000",
"country": "FR",
"latitude": -52.5561625,
"longitude": 92.896504,
"coords_validated": false,
"is_demo": false,
"is_carrier": false,
"is_shipper": false,
"is_origin": false,
"is_destination": false,
"created_by": 0,
"created": "2020-07-30T21:10:06.44551Z",
"instructions": "text",
"remote_id": "text"
},
"managers": [
{
"pk": 928,
"user": {
"email": "adele.bouvet@gmail.com",
"first_name": "Adèle",
"last_name": "Bouvet"
},
"display_name": "text",
"role": "text"
}
],
"has_loggable_managers": false
}
},
"real_start": "2020-12-22T15:31:39.26167Z",
"real_end": "2020-12-22T15:31:39.26167Z",
"signature_process": "sign_on_glass",
"instructions": "text",
"reference": "text",
"action": "text",
"eta": "text",
"eta_tracking": false,
"punctuality_status": "text",
"supports_exchanges": {
"uid": "123e4567-e89b-12d3-a456-426614174000",
"site": {
"uid": "123e4567-e89b-12d3-a456-426614174000",
"remote_id": "text"
},
"support_type": {
"name": "Palettes",
"created": "2020-12-22T15:31:39.26167Z",
"uid": "c8e4cc62-446a-11eb-a759-0242ac130005",
"remote_id": "text"
},
"expected_retrieved": 10,
"actual_retrieved": 10,
"expected_delivered": 10,
"actual_delivered": 10,
"observations": "1 broken",
"remote_id": "text"
},
"category": "text",
"slots": [
{
"start": "2024-04-27T04:56:20.791Z",
"end": "2024-04-27T04:56:20.791Z"
}
],
"trucker_instructions": "text"
},
"shipper_address": {
"pk": 23498,
"name": "Transport Bouvet",
"address": "3 rue des champs",
"city": "Nantes",
"postcode": "44000",
"country": "FR",
"latitude": -52.5561625,
"longitude": 92.896504,
"coords_validated": false,
"is_demo": false,
"is_carrier": false,
"is_shipper": false,
"is_origin": false,
"is_destination": false,
"created_by": 1738,
"created": "2020-12-22T15:31:39.26167Z",
"instructions": "text",
"remote_id": "text",
"company": {
"pk": 928,
"remote_id": "COMP_123",
"name": "Transport Bouvet",
"trade_number": "12345678901234",
"country": "FR",
"settings_contract_html": "text",
"settings_logo": "text",
"settings_stamp": "text",
"settings_print_mode": false,
"settings_special_agreements": "text",
"settings_transport_order_observations": "text",
"settings_constrain_reference_edition": false,
"vat_number": "FR123456789",
"is_verified": false
},
"original": 2085
},
"planned_loads": [
{
"uid": "text",
"remote_id": "text",
"description": "text",
"round_id": 0,
"weight": 0,
"volume": 0,
"volume_display_unit": "m3",
"linear_meters": 0,
"quantity": 0,
"category": "bulk",
"dangerous_goods_category": "1",
"is_dangerous": false,
"adr_un_code": "text",
"legal_mentions": "text",
"complementary_information": "text",
"container_number": "text",
"tare_weight": 0,
"container_seal_number": "text",
"refrigerated": false,
"temperature": "text",
"steres": 0,
"idtf_number": "text",
"use_identifiers": false,
"identifiers": [
"AX000123"
],
"identifiers_observations": "Missing codes: 1234, 3456"
}
],
"loads": [
{
"uid": "text",
"remote_id": "text",
"description": "text",
"round_id": 0,
"weight": 0,
"volume": 0,
"volume_display_unit": "m3",
"linear_meters": 0,
"quantity": 0,
"category": "bulk",
"dangerous_goods_category": "1",
"is_dangerous": false,
"adr_un_code": "text",
"legal_mentions": "text",
"complementary_information": "text",
"container_number": "text",
"tare_weight": 0,
"container_seal_number": "text",
"refrigerated": false,
"temperature": "text",
"steres": 0,
"idtf_number": "text",
"use_identifiers": false,
"identifiers": [
"AX000123"
],
"identifiers_observations": "Missing codes: 1234, 3456"
}
],
"origin_loads": [
{
"uid": "text",
"remote_id": "text",
"description": "text",
"round_id": 0,
"weight": 0,
"volume": 0,
"volume_display_unit": "m3",
"linear_meters": 0,
"quantity": 0,
"category": "bulk",
"dangerous_goods_category": "1",
"is_dangerous": false,
"adr_un_code": "text",
"legal_mentions": "text",
"complementary_information": "text",
"container_number": "text",
"tare_weight": 0,
"container_seal_number": "text",
"refrigerated": false,
"temperature": "text",
"steres": 0,
"idtf_number": "text",
"use_identifiers": false,
"identifiers": [
"AX000123"
],
"identifiers_observations": "Missing codes: 1234, 3456"
}
],
"destination_loads": [
{
"uid": "text",
"remote_id": "text",
"description": "text",
"round_id": 0,
"weight": 0,
"volume": 0,
"volume_display_unit": "m3",
"linear_meters": 0,
"quantity": 0,
"category": "bulk",
"dangerous_goods_category": "1",
"is_dangerous": false,
"adr_un_code": "text",
"legal_mentions": "text",
"complementary_information": "text",
"container_number": "text",
"tare_weight": 0,
"container_seal_number": "text",
"refrigerated": false,
"temperature": "text",
"steres": 0,
"idtf_number": "text",
"use_identifiers": false,
"identifiers": [
"AX000123"
],
"identifiers_observations": "Missing codes: 1234, 3456"
}
],
"tracking_contacts": [
{
"uid": "text",
"contact": {
"uid": "687cddac-dbd2-11ea-9024-0242ac130006",
"created": "2020-12-22T15:31:39.26167Z",
"company": {
"pk": 23498,
"remote_id": "text",
"name": "Transport Bouvet",
"trade_number": "text",
"country": "FR",
"settings_contract_html": "text",
"settings_logo": "text",
"settings_stamp": "text",
"settings_print_mode": false,
"settings_special_agreements": "text",
"settings_transport_order_observations": "text",
"settings_constrain_reference_edition": false,
"vat_number": "text",
"is_verified": "text"
},
"first_name": "text",
"last_name": "text",
"email": "name@gmail.com",
"phone_number": "text",
"fax_number": "text",
"remote_id": "CONTACT_123"
},
"subscribed_to_status_updates": false
}
],
"shipper_reference": "text",
"multiple_rounds": false
}
If you choose to identify an object with its remote_id
instead of its uid
then
replace the uid
value with the remote_id
value in the URL
specify lookup_field=remote_id
in the query parameters
Get successful
Dashdoc's internal id.
eCMR number
Deprecated
Loads as planned before the transport has been started
Loads as they are most recently defined. This means it is:
equal to planned_loads
before loading is actually done
equal to origin_loads
after loading is done (with details validated by trucker), but unloading is not done yet
equal to loads_loads
after unloading is actually done (with details validated by trucker)
Loads as validated by trucker right after loading is done
Loads as validated by trucker right after unloading is done
List of contacts that will automatically receive an email when delivery is done
Reference the client may use to match transport on his own system, e.g. an order number. The transport's creator can toggle a setting to only allow himself to set it.
If true, the trucker will be able to do a signature at loading, then add any amount of rounds for the transport (with weight/volume and weight ticket), and finish with a signature at unloading.
const response = await fetch('https://api.dashdoc.eu/api/v4/deliveries/{uid}/', {
method: 'GET',
headers: {},
});
const data = await response.json();
{
"uid": "text",
"sequential_id": 1240993,
"remote_id": "text",
"tracking_id": "text",
"origin": {
"uid": "687cddac-dbd2-11ea-9024-0242ac130006",
"remote_id": "text",
"address": {
"pk": 23498,
"name": "Transport Bouvet",
"address": "3 rue des champs",
"city": "Nantes",
"postcode": "44000",
"country": "FR",
"latitude": -52.5561625,
"longitude": 92.896504,
"coords_validated": false,
"is_demo": false,
"is_carrier": false,
"is_shipper": false,
"is_origin": false,
"is_destination": false,
"created_by": {
"pk": 25,
"name": "Transport Bouvet"
},
"created_by_user": {
"pk": 34,
"display_name": "Jean Pierre Bouvet",
"company": 25,
"trucker_id": 95
},
"created": "2020-12-22T15:31:39.26167Z",
"instructions": "text",
"remote_id": "text",
"company": {
"pk": 928,
"remote_id": "text",
"created": "2020-07-30T21:10:06.445510Z",
"updated": "2020-07-30T21:10:06.44551Z",
"deleted": false,
"invoicing_remote_id": "COMP_456",
"name": "Transport Bouvet",
"phone_number": "0601020304",
"email": "i.love.dashdoc@gmail.com",
"siren": "123456789",
"trade_number": "text",
"country": "FR",
"comments": "text",
"vat_number": "text",
"is_verified": false,
"settings_transport_order_observations": "text",
"settings_constrain_reference_edition": false,
"account_type": "text",
"logo": "text",
"primary_address": {
"pk": "text",
"name": "Transport Bouvet",
"address": "3 rue des champs",
"city": "Nantes",
"postcode": "44000",
"country": "FR",
"latitude": -52.5561625,
"longitude": 92.896504,
"coords_validated": false,
"is_demo": false,
"is_carrier": false,
"is_shipper": false,
"is_origin": false,
"is_destination": false,
"created_by": 0,
"created": "2020-07-30T21:10:06.44551Z",
"instructions": "text",
"remote_id": "text"
},
"managers": [
{
"pk": 928,
"user": {
"email": "adele.bouvet@gmail.com",
"first_name": "Adèle",
"last_name": "Bouvet"
},
"display_name": "text",
"role": "text"
}
],
"has_loggable_managers": false
}
},
"real_start": "2020-12-22T15:31:39.26167Z",
"real_end": "2020-12-22T15:31:39.26167Z",
"signature_process": "sign_on_glass",
"instructions": "text",
"reference": "text",
"action": "text",
"eta": "text",
"eta_tracking": false,
"punctuality_status": "text",
"supports_exchanges": {
"uid": "123e4567-e89b-12d3-a456-426614174000",
"site": {
"uid": "123e4567-e89b-12d3-a456-426614174000",
"remote_id": "text"
},
"support_type": {
"name": "Palettes",
"created": "2020-12-22T15:31:39.26167Z",
"uid": "c8e4cc62-446a-11eb-a759-0242ac130005",
"remote_id": "text"
},
"expected_retrieved": 10,
"actual_retrieved": 10,
"expected_delivered": 10,
"actual_delivered": 10,
"observations": "1 broken",
"remote_id": "text"
},
"category": "text",
"slots": [
{
"start": "2024-04-27T04:56:20.791Z",
"end": "2024-04-27T04:56:20.791Z"
}
],
"trucker_instructions": "text"
},
"destination": {
"uid": "687cddac-dbd2-11ea-9024-0242ac130006",
"remote_id": "text",
"address": {
"pk": 23498,
"name": "Transport Bouvet",
"address": "3 rue des champs",
"city": "Nantes",
"postcode": "44000",
"country": "FR",
"latitude": -52.5561625,
"longitude": 92.896504,
"coords_validated": false,
"is_demo": false,
"is_carrier": false,
"is_shipper": false,
"is_origin": false,
"is_destination": false,
"created_by": {
"pk": 25,
"name": "Transport Bouvet"
},
"created_by_user": {
"pk": 34,
"display_name": "Jean Pierre Bouvet",
"company": 25,
"trucker_id": 95
},
"created": "2020-12-22T15:31:39.26167Z",
"instructions": "text",
"remote_id": "text",
"company": {
"pk": 928,
"remote_id": "text",
"created": "2020-07-30T21:10:06.445510Z",
"updated": "2020-07-30T21:10:06.44551Z",
"deleted": false,
"invoicing_remote_id": "COMP_456",
"name": "Transport Bouvet",
"phone_number": "0601020304",
"email": "i.love.dashdoc@gmail.com",
"siren": "123456789",
"trade_number": "text",
"country": "FR",
"comments": "text",
"vat_number": "text",
"is_verified": false,
"settings_transport_order_observations": "text",
"settings_constrain_reference_edition": false,
"account_type": "text",
"logo": "text",
"primary_address": {
"pk": "text",
"name": "Transport Bouvet",
"address": "3 rue des champs",
"city": "Nantes",
"postcode": "44000",
"country": "FR",
"latitude": -52.5561625,
"longitude": 92.896504,
"coords_validated": false,
"is_demo": false,
"is_carrier": false,
"is_shipper": false,
"is_origin": false,
"is_destination": false,
"created_by": 0,
"created": "2020-07-30T21:10:06.44551Z",
"instructions": "text",
"remote_id": "text"
},
"managers": [
{
"pk": 928,
"user": {
"email": "adele.bouvet@gmail.com",
"first_name": "Adèle",
"last_name": "Bouvet"
},
"display_name": "text",
"role": "text"
}
],
"has_loggable_managers": false
}
},
"real_start": "2020-12-22T15:31:39.26167Z",
"real_end": "2020-12-22T15:31:39.26167Z",
"signature_process": "sign_on_glass",
"instructions": "text",
"reference": "text",
"action": "text",
"eta": "text",
"eta_tracking": false,
"punctuality_status": "text",
"supports_exchanges": {
"uid": "123e4567-e89b-12d3-a456-426614174000",
"site": {
"uid": "123e4567-e89b-12d3-a456-426614174000",
"remote_id": "text"
},
"support_type": {
"name": "Palettes",
"created": "2020-12-22T15:31:39.26167Z",
"uid": "c8e4cc62-446a-11eb-a759-0242ac130005",
"remote_id": "text"
},
"expected_retrieved": 10,
"actual_retrieved": 10,
"expected_delivered": 10,
"actual_delivered": 10,
"observations": "1 broken",
"remote_id": "text"
},
"category": "text",
"slots": [
{
"start": "2024-04-27T04:56:20.791Z",
"end": "2024-04-27T04:56:20.791Z"
}
],
"trucker_instructions": "text"
},
"shipper_address": {
"pk": 23498,
"name": "Transport Bouvet",
"address": "3 rue des champs",
"city": "Nantes",
"postcode": "44000",
"country": "FR",
"latitude": -52.5561625,
"longitude": 92.896504,
"coords_validated": false,
"is_demo": false,
"is_carrier": false,
"is_shipper": false,
"is_origin": false,
"is_destination": false,
"created_by": 1738,
"created": "2020-12-22T15:31:39.26167Z",
"instructions": "text",
"remote_id": "text",
"company": {
"pk": 928,
"remote_id": "COMP_123",
"name": "Transport Bouvet",
"trade_number": "12345678901234",
"country": "FR",
"settings_contract_html": "text",
"settings_logo": "text",
"settings_stamp": "text",
"settings_print_mode": false,
"settings_special_agreements": "text",
"settings_transport_order_observations": "text",
"settings_constrain_reference_edition": false,
"vat_number": "FR123456789",
"is_verified": false
},
"original": 2085
},
"planned_loads": [
{
"uid": "text",
"remote_id": "text",
"description": "text",
"round_id": 0,
"weight": 0,
"volume": 0,
"volume_display_unit": "m3",
"linear_meters": 0,
"quantity": 0,
"category": "bulk",
"dangerous_goods_category": "1",
"is_dangerous": false,
"adr_un_code": "text",
"legal_mentions": "text",
"complementary_information": "text",
"container_number": "text",
"tare_weight": 0,
"container_seal_number": "text",
"refrigerated": false,
"temperature": "text",
"steres": 0,
"idtf_number": "text",
"use_identifiers": false,
"identifiers": [
"AX000123"
],
"identifiers_observations": "Missing codes: 1234, 3456"
}
],
"loads": [
{
"uid": "text",
"remote_id": "text",
"description": "text",
"round_id": 0,
"weight": 0,
"volume": 0,
"volume_display_unit": "m3",
"linear_meters": 0,
"quantity": 0,
"category": "bulk",
"dangerous_goods_category": "1",
"is_dangerous": false,
"adr_un_code": "text",
"legal_mentions": "text",
"complementary_information": "text",
"container_number": "text",
"tare_weight": 0,
"container_seal_number": "text",
"refrigerated": false,
"temperature": "text",
"steres": 0,
"idtf_number": "text",
"use_identifiers": false,
"identifiers": [
"AX000123"
],
"identifiers_observations": "Missing codes: 1234, 3456"
}
],
"origin_loads": [
{
"uid": "text",
"remote_id": "text",
"description": "text",
"round_id": 0,
"weight": 0,
"volume": 0,
"volume_display_unit": "m3",
"linear_meters": 0,
"quantity": 0,
"category": "bulk",
"dangerous_goods_category": "1",
"is_dangerous": false,
"adr_un_code": "text",
"legal_mentions": "text",
"complementary_information": "text",
"container_number": "text",
"tare_weight": 0,
"container_seal_number": "text",
"refrigerated": false,
"temperature": "text",
"steres": 0,
"idtf_number": "text",
"use_identifiers": false,
"identifiers": [
"AX000123"
],
"identifiers_observations": "Missing codes: 1234, 3456"
}
],
"destination_loads": [
{
"uid": "text",
"remote_id": "text",
"description": "text",
"round_id": 0,
"weight": 0,
"volume": 0,
"volume_display_unit": "m3",
"linear_meters": 0,
"quantity": 0,
"category": "bulk",
"dangerous_goods_category": "1",
"is_dangerous": false,
"adr_un_code": "text",
"legal_mentions": "text",
"complementary_information": "text",
"container_number": "text",
"tare_weight": 0,
"container_seal_number": "text",
"refrigerated": false,
"temperature": "text",
"steres": 0,
"idtf_number": "text",
"use_identifiers": false,
"identifiers": [
"AX000123"
],
"identifiers_observations": "Missing codes: 1234, 3456"
}
],
"tracking_contacts": [
{
"uid": "text",
"contact": {
"uid": "687cddac-dbd2-11ea-9024-0242ac130006",
"created": "2020-12-22T15:31:39.26167Z",
"company": {
"pk": 23498,
"remote_id": "text",
"name": "Transport Bouvet",
"trade_number": "text",
"country": "FR",
"settings_contract_html": "text",
"settings_logo": "text",
"settings_stamp": "text",
"settings_print_mode": false,
"settings_special_agreements": "text",
"settings_transport_order_observations": "text",
"settings_constrain_reference_edition": false,
"vat_number": "text",
"is_verified": "text"
},
"first_name": "text",
"last_name": "text",
"email": "name@gmail.com",
"phone_number": "text",
"fax_number": "text",
"remote_id": "CONTACT_123"
},
"subscribed_to_status_updates": false
}
],
"shipper_reference": "text",
"multiple_rounds": false
}