Get stats like clicks, sales, amount of sale revenue generated, etc. from an affiliate link
Authentication with the “FERMION-API-KEY” header is required to use this endpoint.
Rate limit: Maximum 60 requests in a window of 1m.
cURL
curl --request POST \ --url https://backend.codedamn.com/api/public/get-affiliate-link-stats \ --header 'Content-Type: application/json' \ --header 'FERMION-API-KEY: <api-key>' \ --data ' { "data": [ { "data": { "affiliateLinkSlug": "<string>" } } ] } '
[ { "output": { "status": "ok", "data": { "totalClicks": 123, "commissionPercentageForSale": 123, "salesCount": 123, "inrInformationFromPaymentChargedAmountPaise": 123 } } } ]
API Request Body
Show child attributes
API Response Body