with Zowie and Returnless?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
zowie: {
type: "app",
app: "zowie",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.getzowie.com/v1/users/all`,
headers: {
"x-api-key": `${this.zowie.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
returnless: {
type: "app",
app: "returnless",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api-v2.returnless.com/2023-01/account`,
headers: {
Authorization: `Bearer ${this.returnless.$auth.api_key}`,
"content-type": `application/json`,
},
})
},
})