cURL
curl --request POST \ --url https://backend.codedamn.com/api/public/get-affiliate-link-stats \ --header 'Content-Type: application/json' \ --data '{ "data": [ { "data": { "affiliateLinkSlug": "<string>" } } ] }'
[ { "output": { "status": "ok", "data": { "totalClicks": 123, "commissionPercentageForSale": 123, "salesCount": 123, "inrInformationFromPaymentChargedAmountPaise": 123 } } } ]
Get stats like clicks, sales, amount of sale revenue generated, etc. from an affiliate link
Rate limit: Maximum 60 requests in a window of 1m.
API Request Body
The body is of type object.
object
API Response Body
The response is of type object[].
object[]