https://api.affiliates.iugu.com/events
Retorna uma lista de eventos
Sem ações implementadas definidas
Request
Query params |
|
---|---|
affiliate_id
Type: string ID do afiliado Ex: 0004knrGjQ8uD9wIHVaCWH
event
Type: string Tipo de evento Ex: evento_verao |
Headers |
|
---|---|
workspace_id
Required Type: string Identificador do workspace Ex: 4fHECmQtLdROI4fDLWMiLd |
Response
200 |
||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
OK
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{
"success": [
{
"affiliate_id": "0004knrGjQ8uD9wIHVaCWH",
"events": [
{
"date": "22-05-2024",
"events": {
"nome_do_evento": {
"total_records": 15,
"amount_sum": 6159.9
}
},
"statuses": {
"processed": {
"total_records": 17
}
},
"daily_amount": "12835.98"
}
]
}
]
}
401 |
||||||
---|---|---|---|---|---|---|
Unauthorized
|
1
2
3
4
5
{
"status": "401",
"title": "JWT VALIDATION ERROR",
"detail": "Signature has expired"
}
404 |
||
---|---|---|
Not Found
|
1
2
3
{
"message": "Registro não encontrado."
}
500 |
||||||
---|---|---|---|---|---|---|
Internal Server Error
|
1
2
3
4
5
{
"status": "500",
"title": "Internal Server Error",
"detail": "Internal Error, try again later"
}