Easy print-on-demand drop shipping and fulfillment warehouse services
Emit new event when a new order is created in your Printful account.
Emit new event when a new product is added to your Printful store catalog.
Emit new event when the status of an existing Printful order is updated.
Fetches available shipping rates for a given destination. See the documentation
Write custom Node.js code and use any of the 400k+ npm packages available. Refer to the Pipedream Node docs to learn more.
Creates a new order in your Printful account. See the documentaion
Updates an existing product in your Printful store. 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}`,
},
})
},
})
Develop, run and deploy your Node.js code in Pipedream workflows, using it between no-code steps, with connected accounts, or integrate Data Stores and File Stores.
This includes installing NPM packages, within your code without having to manage a package.json
file or running npm install
.
Below is an example of installing the axios
package in a Pipedream Node.js code step. Pipedream imports the axios
package, performs the API request, and shares the response with subsequent workflow steps:
// 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
},
})