> ## Documentation Index
> Fetch the complete documentation index at: https://developers.redo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# DCL Logistics

> Connect DCL Logistics to Redo to create a ReturnTrak RMA for each approved return and process the return when DCL receives it

## What is DCL Logistics?

DCL Logistics is a third-party logistics provider. Its eFactory portal includes ReturnTrak, DCL's RMA module. Redo's DCL Logistics integration creates a ReturnTrak RMA when a return is approved in Redo, and processes the return in Redo once DCL receives the items.

> [!NOTE]
>
> Connect DCL directly or through Trackstar, not both.

## What the integration does

When a return is approved in Redo, the integration creates an RMA in DCL through DCL's REST API. Redo creates one RMA for each return label that ships to a return address set to DCL Logistics. Each RMA has:

| RMA field | Value |
| - | - |
| RMA number | `RD<return number>`, with `-<label>` when a return has several labels |
| RMA type | T11 Refund Upon Receipt: DCL takes no refund action |
| Disposition | D1 Await Decision: DCL holds received units until you decide |
| RMA location | The **Location ID** on the return address |
| RMA account number | The **Account number** you set in Redo |
| Original order number | The Shopify order name, such as `#1001`, when every item on the label comes from one order and the name has at most 25 letters, digits, `#` or `-` |
| Shipping address | The customer's name and address |
| Shipping instructions | The Redo return number and the return label's tracking number |
| Authorized items | One line per SKU with the total quantity |

* Items the customer keeps (green returns) are left off.
* Redo does not send the customer's email address, so ReturnTrak sends the customer no emails. Redo sends its own.
* Redo does not ask DCL for a return label. The customer uses the Redo label.

If Redo retries creating an RMA, it links the RMA DCL already has under that number instead of creating a second one.

### Receiving and processing

With **Process returns** on, Redo reads each open RMA from DCL every hour and acts when DCL finishes receiving it:

| DCL shows | Redo |
| - | - |
| Every authorized line received | Processes the return |
| The RMA expired with some units received | Processes the received units and flags the missing ones |
| The RMA expired with nothing received | Flags the return |
| The RMA cancelled | Flags the return |
| Receiving not finished | Waits |

DCL grades each received unit with a condition code. Redo restocks units whose condition code is in **Restockable condition codes**. Redo flags the return for your review before refunding when:

* A unit has a condition code that is not on the list
* DCL received fewer units than the return expected

Until you list your restockable condition codes, every receipt is flagged for review.

### Other return changes

DCL's API cannot cancel an RMA. When a return is reset or rejected in Redo, Redo unlinks the RMA and adds a note on the return timeline that Redo can't cancel it, with its RMA number. Request its cancellation in eFactory: open **ReturnTrak**, open the RMA, then choose **Actions → Request cancellation**. If the return is approved again, Redo creates a new RMA numbered with `-R2`, `-R3` and so on.

## How to set it up

### Prerequisites

> [accordion] ReturnTrak
>
> Your DCL account needs ReturnTrak. Your DCL account manager enables it.

> [accordion] API credentials
>
> Ask your DCL account manager for a REST API username and password, the account number that receives returns, and the warehouse code that receives them (for example `FR`).

> [accordion] SKUs
>
> Each returned product needs a SKU that matches an item number set up at DCL.

### Configuration steps

**1. Route returns to DCL Logistics**

Redo creates an RMA only for labels that ship to a return address whose **External return hub → Provider** is **DCL Logistics**. Set it on the return address for your DCL warehouse, and set **Location ID** to the DCL warehouse code, such as `FR`.

**2. Open the integration**

In Redo, go to **Settings → Integrations** and open **DCL Logistics**.

**3. Connect DCL Logistics**

On the **Returns** row, click **Connect** and fill in:

* **API username** and **API password**: the REST API credentials from DCL
* **Account number**: the DCL account that receives returns, such as `10501`
* **Restockable condition codes (comma separated)**: the DCL condition codes whose units go back to stock, such as `C1`. Leave it empty to review every receipt.

**4. Choose what Redo does**

* **Create returns**: create an RMA in DCL when a return is approved in Redo. On by default.
* **Process returns**: process the return in Redo when DCL receives it. On by default.

**5. Connect and save**

Click **Connect**. Redo reads your RMAs in DCL to check the credentials. To change a setting later, click **Manage**, then **Save**. To replace the password, click **Replace**.

> [!WARNING]
>
> You can't change the **API username** while returns have open DCL RMAs. Close or reset those returns first. A new **Account number** applies only to RMAs created after the change.

**6. Test the integration**

1. Approve a return in Redo for a product whose SKU is set up at DCL
2. In eFactory, open **ReturnTrak** and check the RMA and its items
3. When DCL receives the items, check that Redo processes or flags the return

## Disconnecting

To disconnect, click **Disconnect** on the **Returns** row. Redo stops creating and reading RMAs in your DCL account. RMAs already created stay in DCL.

## Troubleshooting

Failures to create an RMA show on the return in Redo with one of these messages.

> [accordion] DCL Logistics rejected the API username or password
>
> **Solution:**
>
> * Check the **API username** and **API password** in the DCL Logistics settings in Redo, then retry from the actions menu on the return

> [accordion] The return address routed to DCL Logistics has no location ID
>
> **Solution:**
>
> * Set the DCL warehouse code as the **Location ID** on the return address, then retry

> [accordion] A returned product has no SKU
>
> **Solution:**
>
> * Add the SKU to the product, then retry, or create the RMA in eFactory by hand

> [accordion] DCL Logistics rejected the RMA
>
> **Solution:**
>
> * Check the **Account number**, the **Location ID** on the return address, and the product SKUs
> * If your ReturnTrak account requires custom fields, ask DCL to make them optional for API RMAs
> * Retry from the actions menu, or create the RMA in eFactory by hand

> [accordion] DCL Logistics already has this return's RMA number, and it is cancelled
>
> **Solution:**
>
> * Create the RMA in eFactory by hand, or contact Redo support

> [accordion] The DCL Logistics API returned an error
>
> **Solution:**
>
> * Retry from the actions menu, or create the RMA in eFactory by hand

## FAQ

> [accordion] Which returns does Redo send to DCL?
>
> Redo creates an RMA for approved returns, warranties and claims whose label ships to a return address set to DCL Logistics. Cancelled returns, green-only returns, in-store and POS returns, recycle returns and returns on third-party orders are not sent.

> [accordion] Does Redo process partial receipts?
>
> Redo waits until DCL receives every authorized line or the RMA expires. On an expired RMA, Redo processes the received units and flags the missing ones for your review.

> [accordion] Does DCL restock or refund?
>
> No. DCL holds received units under D1 Await Decision. Redo refunds the customer and restocks units graded with a restockable condition code.

## Support

For issues with the Redo integration configuration, return processing, or data synchronization, contact **[support@getredo.com](mailto:support@getredo.com)**.

For issues with DCL Logistics access, API credentials, or warehouse operations, contact your DCL Logistics account manager or support team.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.