GET Single customer
Changed onCom este endpoint, você pode visualizar os detalhes de um único cliente cadastrado no sistema.
Um id inexistente, que não é cliente ou de outra empresa responde 404 com corpo [] (array vazio).
get/api/customers/{id}
Request
- Base URLhttps://app.plugsign.com.br
- URLhttps://app.plugsign.com.br/api/customers/{id}
- AuthAPI key in header Authorization
Path parameters
idinteger required
ID do cliente a ser retornado.
Response
200
Example response
{
"data": {
"id": 1,
"name": "João",
"last_name": "Silva",
"phone": "11-99999-9999",
"email": "developer@exemplo.com",
"recive_email": 1,
"recive_whatsapp": 1,
"birth": "1990-05-12",
"role": "user"
}
}Changes
- info
added the non-success response with the status
- info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status - info
added the optional property
/to the response with the status
- info