with Printful and Pexels?
Emit new event when a new order is created in your Printful account.
Emit new event when a new curated photo is added to the Pexels curated collection. See the documentation
Emit new event when a new product is added to your Printful store catalog.
Emit new event when a photo is published that matches a specified search query. See the documentation
Emit new event when the status of an existing Printful order is updated.
Fetches available shipping rates for a given destination. See the documentation
Download a specific photo by providing its photo ID and optionally choosing the desired size. See the documentation
Creates a new order in your Printful account. See the documentaion
Retrieve detailed information about a specific photo by providing its photo ID. See the documentation
Search for photos on Pexels using a keyword or phrase. See the documentation
The Printful API unlocks the ability to automate custom print-on-demand operations within Pipedream's serverless platform. With this API, you can streamline the process of managing products, submitting orders, and syncing inventory. Building workflows around the Printful API on Pipedream can significantly reduce manual intervention, connect your e-commerce data with other services, and enhance customer experiences through timely fulfillment and updates.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
printful: {
type: "app",
app: "printful",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.printful.com/products`,
headers: {
Authorization: `Bearer ${this.printful.$auth.api_key}`,
},
})
},
})
The Pexels API provides access to a well-curated library of high-quality photos and videos, all offered under the Pexels license which allows for a broad range of uses. On Pipedream, this API becomes a treasure trove for automations that require dynamic, attractive visuals. Whether for social media posts, content curation, or website updates, you can fetch and utilize rich media programmatically to enhance your digital projects.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
pexels: {
type: "app",
app: "pexels",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.pexels.com/v1/search?query=people`,
headers: {
"Authorization": `${this.pexels.$auth.api_key}`,
},
})
},
})