Skip to content
Journey: Not started

Transfer company walk-through · Step 4 of 7

Assign a vehicle

Sample data. Nothing is sent to Transferz.

Why this step exists

Next, tell Transferz which car is coming. The licence plate helps the traveller find the right vehicle at the kerb.

The request

PUT/journeys/{id}/assign-vehicleAssign vehicle in the reference

Step 2 has not been run yet, so this uses the sample journey. Run step 2 to use your own.

curl --request PUT \  --url 'https://warpdrive.staging.transferz.com/transfercompanies/journeys/488213/assign-vehicle' \  --header 'Accept: application/json' \  --header 'Content-Type: application/json' \  --header 'X-Request-ID: req-ams-0002' \  --header 'X-API-Key: YOUR_STAGING_API_KEY' \  --data '{  "licensePlate": "TZ-123-X",  "make": "Toyota",  "model": "Corolla Touring",  "series": "Hybrid",  "reassign": false}'
Sample data · nothing is sent

Common pitfall

Assign the driver first: a vehicle on a journey without a driver is refused with DRIVER_NOT_ASSIGNED.

Was this helpful?