Flexible ecommerce for your website
Create one or more records in a table by passing an array of objects containing field names and values as key/value pairs.
Updates a record if recordId
is provided or adds a record to a table.
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`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
airtable_oauth: {
type: "app",
app: "airtable_oauth",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.airtable.com/v0/meta/whoami`,
headers: {
Authorization: `Bearer ${this.airtable_oauth.$auth.oauth_access_token}`,
},
})
},
})