with Rewardful and Big Cartel?
Emit new events when a new order is created. See the docs here
Emit new events when a new product is created. See the docs here
Rewardful is a potent API for managing affiliate and referral programs directly within your application or platform. By connecting Rewardful with Pipedream, you can automate the tracking, attribution, and compensation of affiliate-driven customer conversions, reducing manual overhead and increasing the efficiency of your marketing efforts. With Rewardful's API, you can create affiliates, track campaigns, and disburse rewards seamlessly.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
rewardful: {
type: "app",
app: "rewardful",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.getrewardful.com/v1/affiliates`,
auth: {
username: `${this.rewardful.$auth.api_secret}`,
password: ``,
},
})
},
})
The Big Cartel API unlocks the power to automate and integrate your e-commerce operations, enabling you to seamlessly manage products, orders, and store settings. With Pipedream, you can harness this functionality within serverless workflows to trigger actions based on store events, sync data across platforms, or personalize customer interactions—all without the need for dedicated infrastructure.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
big_cartel: {
type: "app",
app: "big_cartel",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.bigcartel.com/v1/accounts`,
headers: {
Authorization: `Bearer ${this.big_cartel.$auth.oauth_access_token}`,
"Accept": `application/vnd.api+json`,
"Content-type": `application/vnd.api+json`,
},
})
},
})