Listar clientes
curl --request GET \
--url https://api.finup.ar/api/clients \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.finup.ar/api/clients', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.finup.ar/api/clients"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"clients": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"business_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"first_name": "<string>",
"last_name": "<string>",
"dni": "<string>",
"sex": "m",
"street": "<string>",
"street_number": "<string>",
"floor": "<string>",
"apartment": "<string>",
"city": "<string>",
"state": "<string>",
"country": "<string>",
"zip_code": "<string>",
"phone": "<string>",
"alt_phone": "<string>",
"phone_verified_at": "2023-11-07T05:31:56Z",
"phone_verified_by": "<string>",
"alt_phone_verified_at": "2023-11-07T05:31:56Z",
"alt_phone_verified_by": "<string>",
"email": "[email protected]",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"deleted_at": "2023-11-07T05:31:56Z"
}
],
"nextCursor": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Clientes
Listar clientes
Lista paginada de clientes del negocio, ordenada por fecha de creación (descendente). Usa cursor con el nextCursor de la respuesta anterior. Con search devuelve una única página ordenada por relevancia y nextCursor es null.
GET
https://api.finup.ar
/
api
/
clients
Listar clientes
curl --request GET \
--url https://api.finup.ar/api/clients \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.finup.ar/api/clients', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.finup.ar/api/clients"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"clients": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"business_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"first_name": "<string>",
"last_name": "<string>",
"dni": "<string>",
"sex": "m",
"street": "<string>",
"street_number": "<string>",
"floor": "<string>",
"apartment": "<string>",
"city": "<string>",
"state": "<string>",
"country": "<string>",
"zip_code": "<string>",
"phone": "<string>",
"alt_phone": "<string>",
"phone_verified_at": "2023-11-07T05:31:56Z",
"phone_verified_by": "<string>",
"alt_phone_verified_at": "2023-11-07T05:31:56Z",
"alt_phone_verified_by": "<string>",
"email": "[email protected]",
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"deleted_at": "2023-11-07T05:31:56Z"
}
],
"nextCursor": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Authorizations
bearerAuthapiKeyAuth
