v1

latestOpenAPI 3.1.02026-07-2622098.6 KB

Detalhar motoristas

get/api/v1/drivers/{id}

Path parameters

IDinteger required

Response

200

idinteger
namestring
emailstring
documentstring
created_atstring
updated_atstring
phonestring
contact_phonestring
collect_addressstring
collect_zipcodestring
collect_numberstring
collect_neighborhoodstring
collect_citystring
collect_statestring
collect_extrastring
collect_referencestring
car_typestring
boardstring
type_keystring
pix_keystring
carrier_namestring
blockedboolean

Example response

{
  "id": 1,
  "name": "Motorista Exemplo",
  "email": "motorista@exemplo.com",
  "document": "12345678900",
  "created_at": "2023-01-01T00:00:00.000000Z",
  "updated_at": "2023-01-01T00:00:00.000000Z",
  "phone": "11999999999",
  "contact_phone": "11988888888",
  "collect_address": "Rua Exemplo, 123",
  "collect_zipcode": "12345678",
  "collect_number": "123",
  "collect_neighborhood": "Bairro Exemplo",
  "collect_city": "Cidade Exemplo",
  "collect_state": "EX",
  "collect_extra": "Apto 101",
  "collect_reference": "Próximo ao mercado",
  "car_type": "Caminhão",
  "board": "ABC-1234",
  "type_key": "CPF",
  "pix_key": "12345678900",
  "carrier_name": "Transportadora Exemplo"
}