Flexible ecommerce for your website
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
Foxy provides APIs to easily add e-commerce to any website or web application.
With Foxy, you can add products, manage orders, and process payments. You can
also use Foxy to create custom shopping experiences or integrate with
third-party applications.
Here are some examples of what you can build with the Foxy API:
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
foxy: {
type: "app",
app: "foxy",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.foxycart.com/reporting`,
headers: {
Authorization: `Bearer ${this.foxy.$auth.oauth_access_token}`,
"FOXY-API-VERSION": `1`,
},
})
},
})
// To use previous step data, pass the `steps` object to the run() function
export default defineComponent({
async run({ steps, $ }) {
// Return data to use it in future steps
return steps.trigger.event
},
})