Upgrading API from v3 to v4

Transport

Status

Add the sent_to_trucker status category. When a transport is assigned to a trucker but not sent, the status is assigned.

Invoicing address

delivery.invoicing_address is moved to transport.invoicing_address.

Before (v3)

{
    "deliveries": [{
         "invoicing_address": {...}
    }]
}

After (v4)

{
    "invoicing_address": {...},
    "deliveries": [{...}]
}

Sites

Asked time slots

The following fields are now removed:

They are replaced by the slots field, which represents the time slots asked by the shipper.

Two new fields are added: real_start and real_end, which are the actual times at which the trucker arrived on site and left the site.

Before (v3)

After (v4)

Transport statuses

The field holder_exchanges is removed in v4. It is replaced by the dedicated /api/v4/supports-exchanges/ and /api/v4/support-types/ APIs.

Transport messages (uploaded documents)

The field delivery is removed in v4.

Delivery loads

Update type of volume, weight, tare_weight and linear_meters that are now float instead of string.

Before (v3)

After (v4)

Companies

Country

The country field is now mandatory on companies.

Truckers

The param chartered in the truckers filter (URL parameter) is renamed to rental.

Last updated

Was this helpful?