> For the complete documentation index, see [llms.txt](https://help.orderdesk.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://help.orderdesk.com/integration-setup-guides/print-on-demand/printapi-integration.md).

# PrintAPI Integration

Order Desk can submit your print on demand orders to [PrintAPI](https://www.printapi.io/). As orders are fulfilled, the shipment info will automatically be pulled back into Order Desk and sent back to the original shopping cart.

### Setup

To connect to PrintAPI, click on **Manage Integrations** in the left sidebar. Under the **Print on Demand** tab, find and click to enable the PrintAPI integration.

![](https://251457507-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAQOLMUJWMYtrpQ7Oxxca%2Fuploads%2F9w862oA13QCbTE4wkcAG%2Flegacy-002a321840241995a98e.jpg?alt=media)

Alternatively, search for PrintAPI from the available integrations search.

![](https://251457507-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAQOLMUJWMYtrpQ7Oxxca%2Fuploads%2FaLRTNXizNgPcrAvslXYi%2Flegacy-95372a791765175c2e29.jpg?alt=media)

Copy your webhook URL over to your settings at PrintAPI, enter your PrintAPI credentials, then click to connect:

![](https://251457507-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAQOLMUJWMYtrpQ7Oxxca%2Fuploads%2F5J7mJdqhVE7DJcVHUVa8%2Flegacy-e46f96744c954f8514a7.jpg?alt=media)

Please note that Order Desk isn’t able to help find or reset your credentials, as they can only be provided by PrintAPI.

### Integration Settings

![](https://251457507-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAQOLMUJWMYtrpQ7Oxxca%2Fuploads%2FKHcNNxXfv1xx5q6bbLx0%2Flegacy-0a6022dcc8db06c291fe.jpg?alt=media)

Once connected, you will have a few settings where you can set your preferences for this integration.

#### After Import, Move To

Select the folder you want orders to be moved into after they are sent to PrintAPI.

If you want to use a custom folder, create your own from Store Settings. See the [Working with Folders](/start-here/getting-started-series/quick-start-overview.md#working-with-folders) guide for more information.

#### After Shipment, Move To

Select the folder you want orders to be moved into when PrintAPI sends shipment details back into Order Desk.

#### If Canceled, Move To

Select the folder you want orders to be moved into if the order is cancelled at PrintAPI.

#### Send Customer Email Address to PrintAPI

If required, select this option to send customer email addresses to PrintAPI.

#### Shipment Webhook URL

The Shipment Webhook URL is how PrintAPI tells Order Desk about your order shipments. This URL must be set up at PrintAPI for Order Desk to automatically pull in tracking details on orders sent to PrintAPI.

#### Product Settings

![](https://251457507-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAQOLMUJWMYtrpQ7Oxxca%2Fuploads%2FhQBkIGEHSJB1kl5KVJed%2Flegacy-4a12d992f0535eba9195.jpg?alt=media)

For more information on what the product settings within the PrintAPI integration do, please read the [Print on Demand Product Settings](/guided-walkthroughs/print-on-demand-walkthrough/print-on-demand-integration-product-settings.md) guide.

### Sending Orders to PrintAPI

Getting your orders ready to send to PrintAPI will take some set up time. For a detailed walkthrough of how to use Order Desk with your Print on Demand orders, please read through our [Print on Demand Fulfillment](/guided-walkthroughs/print-on-demand-walkthrough/print-on-demand-fulfillment.md) guide.

#### Preparing Your Items

The following fields can be set as variations or item metadata for each order item.

| Field Name           | Field Description                                                                                                                                                                                                                                                                                                                                          |
| -------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| print\_url           | Link to your artwork file so PrintAPI can print it.                                                                                                                                                                                                                                                                                                        |
| print\_location      | First is default cover, second is content.                                                                                                                                                                                                                                                                                                                 |
| page\_count          | Default is 24. Must be an even number.                                                                                                                                                                                                                                                                                                                     |
| print\_option\_name  | Set up to 5 option names on an item as print\_option\_name\_1 through print\_option\_name\_5. Use with print\_option\_value. **Note:** These names are case-sensitive, and should be added exactly as they are listed in PrintAPI. (Example: *Canvas border* instead of *canvas border*, *Hanger Set for Canvas* instead of *hanger set for canvas*, etc.) |
| print\_option\_value | Set up to 5 option values on an item as print\_option\_value\_1 through print\_option\_value\_5. Use with print\_option\_name. **Note:** These names are case-sensitive, and should be added exactly as they are listed in PrintAPI. (Example: *Folded* instead of *folded*, *Floating Frame White* instead of *floating frame white*, etc.)               |


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://help.orderdesk.com/integration-setup-guides/print-on-demand/printapi-integration.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
