Printify

Sell custom t-shirts, phone cases, and 900+ products with your designs printed on demand. Printify handles printing and shipping to your customers.

Integrate the Printify API with the Python API

Setup the Printify API trigger to run a workflow which integrates with the Python API. Pipedream's integration platform allows you to integrate Printify and Python remarkably fast. Free for developers.

Run Python Code with Python API on New Watched Event (Instant) from Printify API
Printify + Python
 
Try it
New Watched Event (Instant) from the Printify API

Emit new event when a specific event occurs in your Printify shop.

 
Try it
Create a Product with the Printify API

Creates a new product on Printify. See the documentation

 
Try it
Run Python Code with the Python API

Write Python and use any of the 350k+ PyPi packages available. Refer to the Pipedream Python docs to learn more.

 
Try it
Submit Order with the Printify API

Places an order of an existing product on Printify. See the documentation

 
Try it
Update Product with the Printify API

Updates an existing product on Printify. See the documentation

 
Try it

Overview of Printify

The Printify API, accessible within Pipedream's platform, offers a suite of operations to streamline your print-on-demand business. It allows you to create products, manage orders, sync inventory, and handle a variety of other e-commerce functions programmatically. With Pipedream's serverless execution environment, you can tap into the Printify API to automate workflows, integrate with other apps, and manipulate data without the need to manage infrastructure.

Connect Printify

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: {
    printify: {
      type: "app",
      app: "printify",
    }
  },
  async run({steps, $}) {
    return await axios($, {
      url: `https://api.printify.com/v1/shops.json`,
      headers: {
        Authorization: `Bearer ${this.printify.$auth.oauth_access_token}`,
      },
    })
  },
})

Overview of Python

Develop, run and deploy your Python code in Pipedream workflows. Integrate seamlessly between no-code steps, with connected accounts, or integrate Data Stores and manipulate files within a workflow.

This includes installing PyPI packages, within your code without having to manage a requirements.txt file or running pip.

Below is an example of using Python to access data from the trigger of the workflow, and sharing it with subsequent workflow steps:

Connect Python

1
2
3
4
5
def handler(pd: "pipedream"):
  # Reference data from previous steps
  print(pd.steps["trigger"]["context"]["id"])
  # Return data for use in future steps
  return {"foo": {"test":True}}