Português (BR)
cURL
curl --request GET \ --url https://public-api.kiwify.com/v1/affiliates/{id} \ --header 'Authorization: Bearer <token>' \ --header 'x-kiwify-account-id: <api-key>'
{ "affiliate_id": "c52ccea4-2b5a-4d03-b53a-d9dc96756fc0", "name": "MY Affiliate", "email": "myaffiliate@mail.com", "company_name": "MY Affiliate", "director_cpf": "99999999999", "company_cnpj": "", "product": { "id": "aaa86f40-d7ae-11ed-acc6-e1c45591a30e", "name": "My Product" }, "commission": 4600, "status": "active", "created_at": "2023-07-24T15:56:26.189Z" }
Consulte os detalhes de um afiliado específico, passando o affiliate_id.
The access token received from the authorization server in the OAuth 2.0 flow.
Affiliate data
The response is of type object.
object