curl --request GET \
--url https://api.myidvirtual.com/resale/clients/:id \
--header 'Authorization: <authorization>'[
{
"id": "user-id-123",
"name": "João Silva",
"email": "[email protected]",
"status": true,
"subscription": {
"plan": "Mensal",
"endDate": "2024-02-15T00:00:00.000Z",
"status": "ACTIVE"
},
"createdAt": "2024-01-10T10:30:00.000Z"
}
]
Retorna lista de clientes de uma revenda
curl --request GET \
--url https://api.myidvirtual.com/resale/clients/:id \
--header 'Authorization: <authorization>'[
{
"id": "user-id-123",
"name": "João Silva",
"email": "[email protected]",
"status": true,
"subscription": {
"plan": "Mensal",
"endDate": "2024-02-15T00:00:00.000Z",
"status": "ACTIVE"
},
"createdAt": "2024-01-10T10:30:00.000Z"
}
]
[
{
"id": "user-id-123",
"name": "João Silva",
"email": "[email protected]",
"status": true,
"subscription": {
"plan": "Mensal",
"endDate": "2024-02-15T00:00:00.000Z",
"status": "ACTIVE"
},
"createdAt": "2024-01-10T10:30:00.000Z"
}
]
curl --location 'http://localhost:3333/resale/clients/123e4567-e89b-12d3-a456-426614174000' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...'