E-commerce
Printful in your product and your AI agents, through one API
The Printful toolkit covers orders, shipping rates, the blank product catalog, the store's own products and sales statistics: create a draft order, update it, confirm it for fulfillment or cancel it, and read tracking numbers. The merchant connects with a Printful API key, and your product or AI agent calls every operation through one Connect endpoint.
15 days to try it. No credit card.
POST https://connect.reportei.com/api/tools/printful_create_order/execute
Authorization: Bearer <merchant token>
x-customer-token: <customer token>
Content-Type: application/json
Accept: application/json
{
"customer_toolkit": "<connection UUID>",
"arguments": {
"recipient": {},
"items": []
}
}How it works
From a connected customer to the first Printful call.
- 1
Your customer connects the account
Your system opens a Connect session for the toolkit and your customer connects their Printful account. You get the connection id.
- 2
Your product calls the tool
A POST to /api/tools/{tool}/execute with the connection id and arguments. On success, Connect preserves the app's response status and body.
- 3
Connect handles the rest
It stores the credential encrypted, renews tokens for OAuth connections that support renewal and records executions in an audit trail available through the API.
Use cases
What your product does with Printful.
Fulfill orders from your storefront
Create a draft order with recipient, items and print files, quote shipping, then confirm it so Printful starts fulfillment.
Order status in your dashboard
List orders and read the shipments with carrier and tracking number to show customers where their package is.
AI agent for merch stores
Let an agent browse the catalog and its variants, check store products, calculate shipping rates and cancel an order that is still draft or pending.
Tools
12 Printful tools
- List ordersGETLists the orders of the store with status, recipient, items, costs and shipments. Pages with offset and limit; paging.total in the response is the number of orders.
- Get orderGETReturns one order with its status, recipient, items, costs and the shipments with carrier and tracking number.
- Create orderPOSTCreates an order as a draft and returns it with the costs Printful calculated. Nothing is charged until Confirm order. recipient and items are required, and print files are downloaded from public URLs.
- Update orderPUTChanges an order that was not submitted for fulfillment yet and returns it. Send only the fields that change; sending items replaces the item list. Nothing is charged until Confirm order.
- Confirm orderPOSTSubmits a draft order for fulfillment and returns it. Printful charges the billing method of the store owner at this moment; a pending order can still be canceled with Cancel order.
- Cancel orderDELETECancels a draft or pending order and returns it. A charged amount goes back to the card of the store owner. Orders in review, in process or already shipped cannot be canceled.
- Calculate shipping ratesPOSTReturns the shipping methods for a list of items and a destination, with rate, currency and delivery estimate. The id of a method goes in shipping of Create order and Update order. Call it right before ordering, because rates change.
- List catalog productsGETLists the blank products of the Printful catalog, such as t-shirts, mugs and posters, with id, title, type, brand and main_category_id. Get catalog product returns the variants of one of them.
- Get catalog productGETReturns a catalog product and its variants. Each variant has the id that orders and shipping rates take as variant_id, with size, color, price and stock; the product lists the print file placements (files) and options it accepts.
- List store productsGETLists the products of a store created in Printful for manual orders and the API, with id, external_id, name and how many variants each has. Get store product returns the variants.
API key
Your customer pastes the app's key on a Connect screen, or your system sends the key with POST /api/customer-toolkits, with no screen.
Questions about the Printful toolkit
Do I need to build against the Printful API?
No. Connect ships 12 Printful tools, described and ready. Your customer connects the account and your system calls every tool through the same endpoint, with the same request format.
How does my customer connect their Printful account?
With the mode the toolkit accepts: API key. Connect stores the credential encrypted and never returns it to your system.
Does it work with AI agents?
Yes. Each tool's input is described in JSON Schema, which your agent uses directly as a tool definition. The agent picks the tool and the arguments, and your system makes the call to Connect.
Does my customer need a Reportei account?
No. Your customer connects the account on a Connect screen, or your system sends the credential through the API, and they keep using only your product.
See Connect applied to your product.
Try it for 15 days with no card, or walk our team through your use case.
