drivers

Initialize Driver

Register a new driver in our backend, creates a User and Driver object, returns DriverRead NOTE: This does not create a firebase user, ie the User is in a hanging state We need to do this so that we can implement our invite only system

post/api/drivers/initialize

Request

  • The document declares no server URL.
  • Auth: HTTP bearer

Request body

addressstring nullable
availabilityboolean[]
car_make_modelstring nullable
emailstring email required
first_namestring required
last_namestring required
license_platestring nullable
partner_driver_namestring nullable
phonestring nullable

Response

Successful Response

activeboolean
addressstring nullable
auth_idstring nullable required
availabilityboolean[]
car_make_modelstring nullable
driver_idstring uuid required
emailstring email required
first_namestring required
full_namestring required
last_namestring required
license_platestring nullable
note_chain_idstring uuid nullable
partner_driver_namestring nullable
phonestring nullable
rolestring required
user_idstring uuid required

Changes

No recorded changes to this operation across all 1 revision of this API.