DataShift Logo

Datashift Freight API

Freight

Carrier-agnostic freight orchestration. Rate-shop and book shipments across all your configured carrier accounts from a single API.

Carrier-agnostic

One request body shape works across TNT AU, BEX AU, and any future carrier. Switch carriers without changing your integration.

Fan-out rates

POST /rates fans out to every active connector simultaneously. One carrier being unavailable does not fail the request.

Tenant-scoped

Your Bearer token identifies both your tenant and your carrier accounts. No tenant ID needed in the URL.

Quick start

1

Issue an API key

Settings → Freight → API Keys → Issue new key. The raw key is shown once — store it in your secrets manager.

2

Discover connectors

Call GET /connectors to list active carrier accounts and retrieve their connectorId values.

3

Shop rates

Call POST /rates to fan out across all connectors simultaneously. Filter by serviceCode if you need one carrier's pricing.

4

Create a booking

Call POST /{connectorId}/bookings with the serviceCode from the chosen quote. Returns orderNumber and consignmentNumber.

5

Retrieve the label

Call GET /shipments/{id}/label to stream the PDF. Format (A4 or thermal) is controlled per-connector in the portal.

Authentication

All endpoints require a Bearer API key issued from the portal. Include it in every request:

Authorization: Bearer dsfrt_<64-hex-chars>

Base URL: https://datashift.com.au/api/freight