Journeys

Assign to driver

Assigns a journey to a driver and sends an optional SMS message

put/journeys/{id}/assign-driver

Request

  • Base URL
    https://warpdrive.staging.transferz.com/transfercompanies
  • URL
    https://warpdrive.staging.transferz.com/transfercompanies/journeys/{id}/assign-driver
  • Auth
    API key in header X-API-Key

Path parameters

idinteger required

The id of the journey to update

Headers

X-Request-IDunknown

The optional (ideally unique) request identifier used for later analysis or diagnostics

Request body

namestring required
phoneNumberstring required
notifyBySmsboolean
reassignboolean

Response

OK

Changes

No recorded changes to this operation across all 2 revisions of this API.