https://api.affiliates.iugu.com/campaign_affiliates
Retorna uma lista de relações entre campanhas e afiliados
Sem ações implementadas definidas
Request
Query params |
|
---|---|
affiliate_id
Type: string ID do afiliado Ex: 5EufttluGZIPaQKN5PF4X4 |
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
{
"success": [
{
"affiliate_id": "78tMFXyBPArVWHw33blSDe",
"affiliate_name": "Influencer",
"campaign_id": "7cXdkOCm6T0AdctrTWPlGI",
"campaign_name": "Campanha de verão",
"campaign_event": "BlackFriday",
"created_at": "2023-12-08T16:41:22.922Z",
"updated_at": "2023-12-08T16:44:02.572Z"
}
]
}
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"
}