> 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/opt-ondemand-integration.md).

# OPT OnDemand Integration

With Order Desk, you can pull in your print on demand orders from your shopping carts, sync your print details into the orders, and then submit them to [**OPT OnDemand**](http://www.optondemand.com/). As your orders are fulfilled, OPT OnDemand will send shipment details back to Order Desk. If your store is set up for it, those details will be sent back to your customer or shopping cart.

### Setup

To get started, click **Manage Integrations** in the left sidebar. Under the **Print on Demand** tab, find and enable the OPT OnDemand integration.

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

Alternatively, search for *OPT OnDemand* from the available integrations search.

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

Once enabled, enter your OPT OnDemand **Client ID** and **Client Secret**, then click **Connect**.

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

> Order Desk isn’t able to help find or reset your OPT OnDemand credentials, as they can only be provided by the OPT OnDemand team.

### Integration Settings

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

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

#### Mode

Choose whether to use the integration in **Production** mode for live orders or **Staging** mode for testing.

#### After Import, Move To

Select the folder you want orders to be moved into after they are successfully sent to OPT OnDemand.

You can use one of the default folders already in your store or create your own. Read 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 after OPT OnDemand sends tracking details back to Order Desk.

#### If Canceled, Move To

Select the folder you want orders to be moved into if they are canceled at OPT OnDemand.

#### Default Shipping Method

Select whether OPT OnDemand should ship using the shipping address on your orders or through a shipping label already added to your orders. If you’re using the label method, set the `ShippingLabel` field as checkout data or order metadata. Details are in the [Preparing Your Order Details](#preparing-your-order-details) section below.

#### Currency

Select the currency your orders are in.

#### Default Carrier ID

If you’re using address-based shipping, you can enter an optional carrier ID here. Leave this blank to use the default carrier already set up at OPT OnDemand.

#### Product Settings

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

For detailed information about what the product settings within the OPT OnDemand integration do, read the [**Print on Demand Product Settings**](/guided-walkthroughs/print-on-demand-walkthrough/print-on-demand-integration-product-settings.md) guide.

#### Shipping Class Match

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

The shipping methods you have set up in your shopping carts may not match the methods OPT OnDemand uses. To make sure your shipping preferences are sent to OPT OnDemand with each order, match your methods to theirs in the Shipping Class Match section. If your shipping method name doesn’t match their shipping method name exactly, your [default shipping method](#default-shipping-method) will be used instead.

For information about how to set up your shipping preferences, read the [**Shipping Class Match**](/guided-walkthroughs/shipping-fulfillment-and-returns/how-to-set-up-shipping-class-matches.md) guide.

### Sending Orders to OPT OnDemand

Getting your orders ready to send to OPT OnDemand will take some setup time. For a detailed walkthrough of how to use Order Desk with your print on demand orders, read the [**Print on Demand Fulfillment**](/guided-walkthroughs/print-on-demand-walkthrough/print-on-demand-fulfillment.md) guide.

#### Existing Products

If you’ve already set up your products and designs in OPT OnDemand, you can link directly to that product with the `optondemandapi_ean` field. This should be the EAN13 code of the item in OPT OnDemand.

| Field Name          | Description                                                                                                                                       |
| ------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------- |
| optondemandapi\_ean | Use this when you already know the exact finished product to print in OPT OnDemand. Order Desk will find the matching product there and order it. |

#### Custom Products

Use this option when your products are not set up in OPT OnDemand ahead of time and you want to send the product details, print files, and customizations with the order.

To send items to OPT OnDemand, you’ll need to provide details about the blank product you’re printing on, along with the artwork files and customizations you want them to make.

| Field Name            | Description                                                                                                                                                                                                                 |
| --------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| print\_sku            | **Required.** The OPT OnDemand product ID.                                                                                                                                                                                  |
| print\_url\_x         | **Required.** The printable art file for your design. For multi-location prints, you can use `print_url_1` through `print_url_5`.                                                                                           |
| print\_preview\_x     | **Required.** The preview image for your design. For multi-location prints, you can use `print_preview_1` through `print_preview_5`. If you leave out this field, Order Desk will try to use the print\_url as the preview. |
| print\_location\_x    | The print location for the artwork. For multi-location prints, you can use `print_location_1` through `print_location_5` to match the corresponding `print_url` field.                                                      |
| print\_technology\_x  | The print technology you want to use. You can use `print_technology_1` through `print_technology_5`                                                                                                                         |
| design\_id\_x         | Used for customizations. The SKU of the customization article, where `x` is a number from 1 to 5.                                                                                                                           |
| design\_preview\_x    | **Required** for customizations. This is the preview image for your customization.                                                                                                                                          |
| design\_location\_x   | Used for customizations. The intended customization location, where `x` is a number from 1 to 5 to match the corresponding `design_id` field.                                                                               |
| design\_technology\_x | Used for customizations. The intended customization technology, where `x` is a number from 1 to 5 to match the corresponding `design_id` field.                                                                             |

#### Preparing Your Order Details

The following fields can be set as checkout data or order metadata to specify what gets sent to OPT OnDemand.

| Field Name    | Description                                                                                                                                                                                                                   |
| ------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| PackingSlip   | URL of the PDF to include as the packing slip on the order. For more information, see the [Create PDF Files](/guided-walkthroughs/templates-emails-and-order-documents/how-to-create-pdf-files-for-order-documents.md) guide. |
| ShippingLabel | URL of the shipping label you want to use for the shipment. This is relevant if your OPT OnDemand shipping method is set to use labels.                                                                                       |
| ReturnLabel   | URL of the return label you want to send with the order.                                                                                                                                                                      |
| CarrierID     | ID number for the shipping carrier if it should be different from the default set on the integration settings page.                                                                                                           |

### Related Articles

* Print on Demand Fulfillment
* How to Make Your Dropbox Artwork Files Shareable
* Print on Demand Order Syncing
* Dropbox Integration


---

# 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/opt-ondemand-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.
