Consultar motorista

Retorna os dados de um motorista específico a partir do `document_number` único dele.

Header obrigatório. Toda chamada exige o header x-abbiamo-seller-group-key. Preencha-o no canto superior direito desta página ou veja como obter a sua chave.

GET
/v1/drivers/{document_number}
x-abbiamo-seller-group-key<token>

In: header

Path Parameters

document_number*string

Identificador único do motorista

Default"02086423071"

Header Parameters

x-abbiamo-seller-group-key*string

Response Body

application/json

application/json

application/json

curl -X GET "https://example.com/v1/drivers/02086423071" \  -H "x-abbiamo-seller-group-key: string"
"{\n\t\"id\": \"3d7672a6-0790-4151-9568-5d950ceea3f5\",\n\t\"name\": \"Motorista de exemplo\",\n\t\"document_number\": \"24053929091\",\n\t\"phone\": \"31984725613\",\n\t\"active\": true,\n\t\"created_at\": \"2024-06-26T13:24:56.034Z\",\n\t\"updated_at\": \"2026-03-19T18:15:28.649Z\",\n\t\"seller_identifiers\": [\n\t\t\"16250640000197\",\n\t\t\"16250640000198\"\n\t]\n}"
"{\n  \"message\": \"Driver 12345678900 is not associated with the provided seller group 550e8400-e29b-41d4-a716-446655440000\",\n  \"code\": \"DRIVER_NOT_FOUND\",\n  \"status\": 400,\n  \"level\": \"WARNING\",\n  \"params\": {\n    \"seller_group_id\": \"550e8400-e29b-41d4-a716-446655440000\"\n  }\n}"
"{\n  \"message\": \"Driver 12345678900 not found\",\n  \"code\": \"DRIVER_NOT_FOUND\",\n  \"status\": 404,\n  \"params\": {\n    \"document_number\": \"12345678900\"\n  }\n}"