Record an affiliate click/attribution event. Public — called from landing pages.
curl --request POST \
--url https://tryno.io/api/affiliate/track \
--header 'Content-Type: application/json' \
--data '
{
"code": "<string>"
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({code: '<string>'})
};
fetch('https://tryno.io/api/affiliate/track', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://tryno.io/api/affiliate/track"
payload = { "code": "<string>" }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){}{
"error": "<string>"
}{
"error": "<string>"
}affiliate
Record an affiliate click/attribution event. Public — called from landing pages.
POST
/
affiliate
/
track
Record an affiliate click/attribution event. Public — called from landing pages.
curl --request POST \
--url https://tryno.io/api/affiliate/track \
--header 'Content-Type: application/json' \
--data '
{
"code": "<string>"
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({code: '<string>'})
};
fetch('https://tryno.io/api/affiliate/track', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://tryno.io/api/affiliate/track"
payload = { "code": "<string>" }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text){}{
"error": "<string>"
}{
"error": "<string>"
}Corpo
application/json
Resposta
Success.
The response is of type object.

