Your one-stop shop for wholesale. Shop over 85,000 independent brands, all in one place.
Add or update a single record in your Pipedream Data Store.
Add or update multiple records to your Pipedream Data Store.
Append to a record in your data store Pipedream Data Store. If the record does not exist, a new record will be created in an array format.
Check if a key exists in your Pipedream Data Store or create one if it doesn't exist.
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}`,
},
})
},
})
With the Data Stores API, you can build applications that:
export default defineComponent({
props: {
myDataStore: {
type: "data_store",
},
},
async run({ steps, $ }) {
await this.myDataStore.set("key_here","Any serializable JSON as the value")
return await this.myDataStore.get("key_here")
},
})