with JVZoo and INDIEFUNNELS?
Creates a new Contact on your IndieFunnel website. See the documentation
Creates a new Member on your IndieFunnel website. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
jvzoo: {
type: "app",
app: "jvzoo",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.jvzoo.com/v2.0`,
headers: {
"Content-Type": `application/json`,
},
auth: {
username: `${this.jvzoo.$auth.api_key}`,
password: `x`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
indiefunnels: {
type: "app",
app: "indiefunnels",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.indiefunnels.$auth.api_url}/api/site/products`,
headers: {
Authorization: `Bearer ${this.indiefunnels.$auth.api_key}`,
"user-agent ": `@PipedreamHQ/pipedream v0.1`,
},
})
},
})