Manage and track your ambassador, influencer and affiliate marketing programs with ease.
Go to siteThe Refersion API gives you the power to build secure and feature-rich applications that extend the functionality of the Refersion platform. With the Refersion API, you can create applications that target referral and affiliate marketing campaigns, product promotions, and other marketing initiatives.
You can use the Refersion API to:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
refersion: {
type: "app",
app: "refersion",
}
},
async run({steps, $}) {
const data = {
"limit": `3`,
"page": `1`,
}
return await axios($, {
method: "post",
url: `https://api.refersion.com/v2/affiliate/list`,
headers: {
"Accept": `application/json`,
"Content-Type": `application/json`,
"Refersion-Public-Key": `{{custom_fields.api_key}}`,
"Refersion-Secret-Key": `{{custom_fields.secret}}`,
},
data,
})
},
})
Get information about an affiliate. You can get an affiliate's information using their ID or code. See the docs here
Allows you to manually credit an affiliate with any commission amount. See the docs here
Refersion uses API keys for authentication. When you connect your Refersion account, Pipedream securely stores the keys so you can easily authenticate to Refersion APIs in both code and no-code steps.
To retrieve your Refersion Public and Secret keys,