Skip to content

Connectors / Supply chain · HTTP Connector

Printful integration and API

Create an order, create a sync product and create a mockup generation task in Printful, and start a workflow when Printful sends “Package shipped”.

What can you do with Printful on Tray.ai?

Printful is a print-on-demand and fulfilment service that prints, packs and ships custom products such as apparel, mugs and posters for online stores. Tray.ai connects to Printful through the HTTP Connector, so your workflows can call the Printful API alongside the rest of your stack.

  • When Printful sends “Package shipped”, send the customer tracking details from your email platform.
  • When Printful sends “Order failed”, open a ticket in your help desk for the operations team.
  • Create an order when a customer checks out in your online store.
  • When Printful sends “Stock updated”, update product availability in your online store.
Connects through
HTTP Connector
Authentication
A bearer token or OAuth 2.0
Base URL
https://api.printful.com

Set it up

Connect Printful to Tray.ai

Each step uses Printful's own API details, from its documentation.

Step 1

Save Printful's API token

Save the token Printful issues as a Tray.ai authentication. The HTTP Client sends it as a bearer token on every call. The token stays out of the workflow and out of the logs.

Step 2

Point the HTTP Client at the API

Add an HTTP Client step and use https://api.printful.com as the base URL. Or paste a cURL example from Printful's API docs, and Tray.ai fills in the method, URL, and headers.

Step 3

Start with “List orders”

It's one of 17 documented actions, under Orders. The response comes back as data the next step can map into your other apps.

Step 4

Start workflows from Printful events

Give Printful the URL of a Tray.ai webhook trigger. “Package shipped” can then start a workflow, and so can 11 other events.

Workflows to build with Printful

Connect Printful with Shopify, Zendesk and QuickBooks

Each one uses actions and events from Printful's own API documentation.

Add Printful tracking to the matching Shopify order

When

Package shipped

Then

  1. Get an order to read the shipment details
  2. Mark the Shopify order fulfilled with the tracking number

With Shopify

Open a Zendesk ticket when a Printful order fails

When

Order failed

Then

  1. Get an order
  2. Create a ticket for the support team in Zendesk

With Zendesk

Record Printful refunds in QuickBooks

When

Order refunded

Then

  1. Get an order to read the refund amount
  2. Record a refund in QuickBooks

With QuickBooks

Apps you can build on Printful data

Internal tools your team can build with an AI assistant, each one using Printful calls from its API documentation.

Order issue queue

Lists orders that failed or were put on hold and lets support update, confirm or cancel each one.

Shipment and returns tracker

Shows packages as they ship or come back, linked to their orders, so the store team can follow up.

Store product catalog manager

Lists synced store products against catalog variants and lets the team update or remove a product.

Give your AI agents Printful tools

Build an MCP server on Printful in Agent Gateway and choose which actions your agents can call. Every call runs with access control and an audit trail. How Agent Gateway works

  • List orders
  • List sync products
  • List catalog products
  • Create a mockup generation task
  • Get webhook configuration
  • Create an order
  • Get an order
  • Update an order

What the Printful API covers

5 resources and 17 documented actions, each one a call the HTTP Connector can make from a Tray.ai workflow. Connecting it takes a few clicks: here's how.

Orders

  • List orders
  • Create an order
  • Get an order
  • Update an order
  • Cancel an order
  • Confirm a draft order

Sync products

  • List sync products
  • Create a sync product
  • Update a sync product
  • Delete a sync product

Catalog

  • List catalog products
  • Get product variants

Mockups

  • Create a mockup generation task
  • Get mockup task results

Webhooks

  • Get webhook configuration
  • Set up webhooks
  • Disable webhooks

Events Printful can send to a Tray.ai webhook trigger

  • Package shipped
  • Package returned
  • Order created
  • Order updated
  • Order failed
  • Order canceled
  • Order put on hold
  • Order refunded
  • Product synced
  • Product updated
  • Product deleted
  • Stock updated

Checked against Printful's own documentation on 2026-10-22

developers.printful.com/docs

Frequently asked questions

What can a Tray.ai workflow do in Printful?

+

The Printful API documents 17 actions across 5 resources (Orders, Sync products, Catalog, Mockups, Webhooks). For example: List orders; List sync products; List catalog products. A workflow can make any documented call through the HTTP Connector.

How does Tray.ai authenticate with Printful?

+

The Printful API uses a bearer token and OAuth 2.0. You save it once as a Tray.ai authentication, and the HTTP Connector adds it to every request.

Which Printful events can start a Tray.ai workflow?

+

Printful sends 12 events to a webhook URL, for example: Package shipped; Package returned; Order created; Order updated; Order failed; Order canceled; Order put on hold; Order refunded. A Tray.ai webhook trigger receives them and starts a workflow.

See Printful working against your stack.

We'll walk through a tailored demo with your systems plugged in.

Great — a couple more details

This helps us connect you with the right person. Optional, and you can skip it.