> 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/sales-channels/wayfair-castlegate-integration.md).

# Wayfair CastleGate Integration

Order Desk can download your [Wayfair Castlegate](https://sell.wayfair.com/operate-castlegate-overview) orders, mark orders as accepted, send tracking details back and send your daily true-up inventory feeds back to Wayfair Castlegate.

### Setup

An active [Wayfair Partner](https://sell.wayfair.com/) account is needed to connect Wayfair Castlegate to Order Desk. Before connecting your integration, please [contact our support team](https://www.orderdesk.com/contact/) to start the process, as we will need to work with Wayfair on your behalf before you can have access to their API and manage your orders.

You can find more information on this process [here](/integration-setup-guides/sales-channels/wayfair-integration.md#setup).

In Order Desk, click on **Manage Integrations** under the Integrations menu in the left sidebar. Under the **Shopping Carts** tab, find and enable Wayfair Castlegate.

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

Alternatively, search for Wayfair Castlegate from the available integration search.

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

Once enabled, choose from either a **Production** or **Sandbox** environment. Be sure to choose the same application environment that is set up in your Wayfair Castlegate account, as accounts used for testing can sometimes be set up in production environments. If you’re unsure, talk to your Wayfair Castlegate rep.

Next, paste your Client ID and Secret Key from Wayfair Castlegate and click to connect.

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

### Integration Settings

<div align="left"><figure><img src="https://251457507-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FAQOLMUJWMYtrpQ7Oxxca%2Fuploads%2Fr0FVnTe4fJyk9hb9U7yg%2Fscreenshot%202026-09-09%20at%2017.47.51%402x.png?alt=media&amp;token=ffba92b4-d2c4-4279-9dec-18c9b15e8d13" alt="" width="563"><figcaption></figcaption></figure></div>

#### Environment

Indicates the current environment of your integration, as set when the integration was enabled. Options are Production and Sandbox.

#### Mode

Keep this set to Test while initially setting up the integration. When Wayfair Castlegate switches you over to Live mode, update this to Live. After switching to Live mode, be sure to reset your access token (there’s a button to do this at the bottom of the page).

#### Check for New Orders

Select how often you want orders to be downloaded from Wayfair Castlegate. Only new, unaccepted orders will be downloaded.

#### Import Delay

If enabled, orders will not be imported until 30 minutes after they’re placed. This gives time for orders to be cancelled in Wayfair Castlegate before they’re imported into Order Desk.

#### Folder for New Orders

Select the folder where newly imported orders from Wayfair Castlegate should be placed.

For more information, see the [Working with Folders](/start-here/getting-started-series/quick-start-overview.md#working-with-folders) guide.

#### Auto Accept Orders

Enable this to have Order Desk send order acceptance notices to Wayfair after an order has been imported.

#### First Import Date

Set the date from which Order Desk should start downloading orders. Any orders placed before this date will not be brought into Order Desk.

#### Manual Imports

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

You can manually import the last 50 orders from Wayfair Castlegate by clicking this the **Import Orders** button. You can also use the **Order ID** option to import just a single order.


---

# 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/sales-channels/wayfair-castlegate-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.
