Your one-stop shop for wholesale. Shop over 85,000 independent brands, all in one place.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
faire: {
type: "app",
app: "faire",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://www.faire.com/api/v1/products`,
headers: {
"X-FAIRE-ACCESS-TOKEN": `${this.faire.$auth.access_token}`,
},
})
},
})
export default defineComponent({
async run({ steps, $ }) {
const text = ' Hello world! ';
return text.trim()
},
})