GET All Customers
Changed onCom este endpoint, você pode listar todos os clientes cadastrados no sistema.
É possível filtrar os resultados utilizando os query params disponíveis listados abaixo.
A lista é paginada (15 por página, do mais recente para o mais antigo) e traz links e meta. Os filtros id, name, last_name, email e phone são comparações exatas; address faz busca parcial (contém).
Request
- Base URLhttps://app.plugsign.com.br
- URLhttps://app.plugsign.com.br/api/customers
- AuthAPI key in header Authorization
Query parameters
Id do seu cliente adicionado na plataforma.
Primeiro nome do cliente adicionado na plataforma.
Sobrenome do cliente adicionado na plataforma.
Endereço de e-mail do cliente adicionado na plataforma.
Telefone do cliente (comparação exata).
Endereço do cliente (busca parcial, contém).
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"
}
],
"meta": {
"per_page": 15
}
}Changes
- info
for the
queryrequest parameterphone, the type was generalized fromintegertostring, and format fromint32to no format - 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
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info