curl --request GET \
--url https://api.myidvirtual.com/resale \
--header 'Authorization: <authorization>'[
[
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "Revenda Premium",
"email": "[email protected]",
"phone": "+5511999999999",
"commission": 15,
"status": true,
"totalClients": 45,
"createdAt": "2024-01-15T10:30:00.000Z"
}
],
1
]
Retorna lista de todas as revendas
curl --request GET \
--url https://api.myidvirtual.com/resale \
--header 'Authorization: <authorization>'[
[
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "Revenda Premium",
"email": "[email protected]",
"phone": "+5511999999999",
"commission": 15,
"status": true,
"totalClients": 45,
"createdAt": "2024-01-15T10:30:00.000Z"
}
],
1
]
[
[
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "Revenda Premium",
"email": "[email protected]",
"phone": "+5511999999999",
"commission": 15,
"status": true,
"totalClients": 45,
"createdAt": "2024-01-15T10:30:00.000Z"
}
],
1
]
curl --location 'http://localhost:3333/resale' \
--header 'Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...'