with Printful and Ghost.org (Admin API)?
Emit new event when a new order is created in your Printful account.
Emit new event each time a member is deleted from a site.
Emit new event when a new product is added to your Printful store catalog.
Emit new event each time a member is updated.
Emit new event when the status of an existing Printful order is updated.
Fetches available shipping rates for a given destination. See the documentation
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}`,
},
})
},
})
The Ghost.org (Admin API) provides a powerful platform for content management and distribution, allowing developers to programmatically interact with their Ghost site. With this API, you can automate content creation, manage posts, pages, and tags, and dynamically adjust site settings. This enables seamless content workflows, from drafting and scheduling posts to curating featured articles and managing user access. When used with Pipedream, these capabilities expand, enabling integrations with countless other services to create sophisticated, automated content pipelines that can save time and enhance your content strategy.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ghost_org_admin: {
type: "app",
app: "ghost_org_admin",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://${this.ghost_org_admin.$auth.admin_api_url}}/ghost/api/v3/admin/site`,
headers: {
Authorization: `Bearer ${this.ghost_org_admin.$auth.admin_api_key}`,
},
})
},
})