with Referral Rocket 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
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
referral_rocket: {
type: "app",
app: "referral_rocket",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.referralrocket.io/api/v1/getAllParticipants`,
headers: {
"x-api-key": `${this.referral_rocket.$auth.api_key}`,
},
params: {
id: `${this.referral_rocket.$auth.campaign_id}`,
},
})
},
})
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`,
},
})
},
})