Lista todos os clientes no CRM
POST
/customer/listRequest
Parâmetros Bodyapplication/json
tag_ids
array[string]
opcional
Ids Tags
Exemplo
{
"tag_ids": []
}
Request samples
Respostas
Success(200)
HTTP Code: 200
Content Type : JSONapplication/json
Esquema de Dados
object {0}
ExemploSucesso
{
"data": [
{
"id": 1,
"person_id": 1,
"legal_person_id": null,
"value": null,
"document_id": 1,
"type": "natural_person",
"created_at": "2024-09-18T19:45:52.000000Z",
"updated_at": "2024-09-20T20:34:00.000000Z",
"document": "91659751039",
"name": "MARIA ROSA CAETANO SANTOS",
"birth_date": "1959-06-26",
"import_id": null,
"organ": "INSS",
"contacts": [
{
"id": 1,
"customer_id": 1,
"type": "C",
"contact": "11935226598",
"score": 3,
"created_at": "2024-09-18T19:45:53.000000Z",
"updated_at": "2024-09-18T19:45:53.000000Z",
"obs": null
},
{
"id": 2,
"customer_id": 1,
"type": "E",
"contact": "testecadmanual@gmail.com.br",
"score": null,
"created_at": "2024-09-20T20:34:00.000000Z",
"updated_at": "2024-09-20T20:34:00.000000Z",
"obs": null
}
]
},
{
"id": 2,
"person_id": 2,
"legal_person_id": null,
"value": null,
"document_id": null,
"type": "natural_person",
"created_at": "2024-10-14T19:58:06.000000Z",
"updated_at": "2024-10-14T19:58:06.000000Z",
"document": "74013212030",
"name": "TESTE IMPORTAÇÂO DUPLICADA",
"birth_date": null,
"import_id": null,
"organ": null,
"contacts": []
},
{
"id": 3,
"person_id": 3,
"legal_person_id": null,
"value": null,
"document_id": null,
"type": "natural_person",
"created_at": "2024-10-14T20:00:22.000000Z",
"updated_at": "2024-10-14T20:00:22.000000Z",
"document": "93218842034",
"name": "teste importacao duplicada",
"birth_date": null,
"import_id": null,
"organ": null,
"contacts": []
},
{
"id": 4,
"person_id": 4,
"legal_person_id": null,
"value": null,
"document_id": null,
"type": "natural_person",
"created_at": "2024-10-14T20:02:14.000000Z",
"updated_at": "2024-10-14T20:02:14.000000Z",
"document": "93218842034",
"name": "GUSTAVO GALDINO PEREIRA DE ALMEIDA",
"birth_date": "2011-12-11",
"import_id": null,
"organ": "INSS",
"contacts": [
{
"id": 3,
"customer_id": 4,
"type": "C",
"contact": "11935685956",
"score": 3,
"created_at": "2024-10-14T20:30:28.000000Z",
"updated_at": "2024-10-14T20:30:28.000000Z",
"obs": null
}
]
},
{
"id": 5,
"person_id": 5,
"legal_person_id": null,
"value": null,
"document_id": null,
"type": "natural_person",
"created_at": "2024-10-29T17:22:46.000000Z",
"updated_at": "2024-10-29T17:22:46.000000Z",
"document": "93218842034",
"name": "LUIZ FERNANDO RODRIGUES MARTINS",
"birth_date": "1951-01-02",
"import_id": null,
"organ": "INSS",
"contacts": [
{
"id": 4,
"customer_id": 5,
"type": "C",
"contact": "11963335986",
"score": 3,
"created_at": "2024-10-29T17:22:46.000000Z",
"updated_at": "2024-10-29T17:22:46.000000Z",
"obs": null
}
]
},
{
"id": 6,
"person_id": 6,
"legal_person_id": null,
"value": null,
"document_id": null,
"type": "natural_person",
"created_at": "2024-11-04T14:21:24.000000Z",
"updated_at": "2024-11-04T14:21:24.000000Z",
"document": "93218842034",
"name": "Thor",
"birth_date": "1994-10-08",
"import_id": null,
"organ": null,
"contacts": [
{
"id": 5,
"customer_id": 6,
"type": "C",
"contact": "11987654321",
"score": null,
"created_at": "2024-11-04T14:21:24.000000Z",
"updated_at": "2024-11-04T14:21:24.000000Z",
"obs": null
},
{
"id": 6,
"customer_id": 6,
"type": "E",
"contact": "thor@asgard.com",
"score": null,
"created_at": "2024-11-04T14:21:24.000000Z",
"updated_at": "2024-11-04T14:21:24.000000Z",
"obs": null
},
{
"id": 7,
"customer_id": 6,
"type": "E",
"contact": "maria.silva@example.com",
"score": null,
"created_at": "2024-11-04T14:25:10.000000Z",
"updated_at": "2024-11-04T14:25:10.000000Z",
"obs": null
}
]
}
]
}
Last modified: 19 days ago