Printful (OAuth)

Easy print-on-demand drop shipping and fulfillment warehouse services. Connect your account using OAuth.

Integrate the Printful (OAuth) API with the Bash API

Setup the Printful (OAuth) API trigger to run a workflow which integrates with the Bash API. Pipedream's integration platform allows you to integrate Printful (OAuth) and Bash remarkably fast. Free for developers.

Run Bash Code with Bash API on New Canceled Order (Instant) from Printful (OAuth) API
Printful (OAuth) + Bash
 
Try it
Run Bash Code with Bash API on New Fulfilled Order (Instant) from Printful (OAuth) API
Printful (OAuth) + Bash
 
Try it
Run Bash Code with Bash API on New Order (Instant) from Printful (OAuth) API
Printful (OAuth) + Bash
 
Try it
New Canceled Order (Instant) from the Printful (OAuth) API

Emit new event on each canceled order.

 
Try it
New Fulfilled Order (Instant) from the Printful (OAuth) API

Emit new event on each fulfilled order.

 
Try it
New Order (Instant) from the Printful (OAuth) API

Emit new event on each created order.

 
Try it
Create Order with the Printful (OAuth) API

Creates an order. See docs here

 
Try it
Run Bash Code with the Bash API

Run any Bash in a Pipedream step within your workflow. Refer to the Pipedream Bash docs to learn more.

 
Try it

Overview of Printful (OAuth)

The Printful (OAuth) API on Pipedream allows you to automate and integrate Printful's on-demand printing and warehousing services into your custom workflows. From syncing e-commerce orders to generating custom notifications on order status updates, you can tailor the Printful API to fit seamlessly into your business processes. This integration is ideal for e-commerce businesses looking to streamline their operations, especially for those who want to synchronize their storefronts with Printful's production pipeline without extensive manual oversight.

Connect Printful (OAuth)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { axios } from "@pipedream/platform"
export default defineComponent({
  props: {
    printful_oauth: {
      type: "app",
      app: "printful_oauth",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.printful.com/oauth/scopes`,
      headers: {
        Authorization: `Bearer ${this.printful_oauth.$auth.oauth_access_token}`,
      },
    })
  },
})

Connect Bash

1
2
3
4
5
6
7
# $PIPEDREAM_STEPS file contains data from previous steps
cat $PIPEDREAM_STEPS | jq .trigger.context.id

# Write data to $PIPEDREAM_EXPORTS to return it from the step
# Exports must be written as key=value
echo foo=bar >> $PIPEDREAM_EXPORTS