Conversions
Conversions represent successful referral actions — typically a purchase or signup attributed to an affiliate.
List Conversions
GET
/v1/conversionscurl
curl -X GET https://api.icodrip.com/v1/conversions \ -H "Authorization: Bearer sk_live_xxxxxxxxxxxxx" \ -H "Content-Type: application/json"
Create Conversion
POST
/v1/conversionscurl
curl -X POST https://api.icodrip.com/v1/conversions \
-H "Authorization: Bearer sk_live_xxxxxxxxxxxxx" \
-H "Content-Type: application/json" \
-d '{
"affiliate_id": "aff_01HXYZ",
"amount": 4900,
"currency": "USD",
"external_id": "order_abc123"
}'Get Conversion
GET
/v1/conversions/:idcurl
curl -X GET https://api.icodrip.com/v1/conversions/conv_01HXYZ \ -H "Authorization: Bearer sk_live_xxxxxxxxxxxxx" \ -H "Content-Type: application/json"
Update Conversion
PATCH
/v1/conversions/:idcurl
curl -X PATCH https://api.icodrip.com/v1/conversions/conv_01HXYZ \
-H "Authorization: Bearer sk_live_xxxxxxxxxxxxx" \
-H "Content-Type: application/json" \
-d '{
"status": "approved"
}'