---
title: "Transfer Dispatch Plan Orders"
method: POST
path: "/v1/plans/{planId}/orders:transfer"
tags: ["Dispatch plans"]
---

# Transfer Dispatch Plan Orders

`POST /v1/plans/{planId}/orders:transfer`

## Request

- Base URL: `https://api.sandbox.usenash.com`
- URL: `https://api.sandbox.usenash.com/v1/plans/{planId}/orders:transfer`
- Auth: none declared

Move the selected orders into another plan's unplanned orders. The other plan takes the orders even while someone has it open; its revision advances and the Planner reloads it. Fails with 409 `PLAN_LEASE_HELD` (naming `heldBy`) while anyone has the plan open in the Planner, and with 409 `PLAN_REVISION_STALE` (naming `currentRevision`) when the plan changed since `expectedRevision`.

## Path parameters

- `planId` string, required

## Request body

- TransferDispatchPlanOrders
  - `expectedRevision` integer, required: The `revision` of the plan you last read.
  - `selection` union, required
    - object
      - `orderIds` string[], required
      - `draftRouteIds` string[]
    - object
      - `draftRouteIds` string[], required
      - `orderIds` string[]
  - `destinationPlanId` string, required: The plan the orders move to.

## Response `200`

OK

- TransferredDispatchPlanOrders
  - `planId` string, required
  - `revision` integer, required
  - `contentHash` string, required
  - `activeMemberCount` integer, required
  - `transfers` DispatchPlanTransfer[], required
    - `transferId` string, required
    - `orderId` string, required
    - `sourceEpisodeId` string, required
    - `destinationEpisodeId` string, required
    - `transferredAt` string, date-time, required
  - `destination` DispatchPlanTransferDestination, required
    - `planId` string, required
    - `revision` integer, required
    - `contentHash` string, required
    - `activeMemberCount` integer, required
    - `name` string, required

## Other responses

- `422`: Unprocessable Content

---

[API](https://skmtc.dev/nash/apis/nash-api.md) - [All operations](https://skmtc.dev/nash/apis/nash-api/llms.txt) - [OpenAPI document](https://skmtc.dev/nash/apis/nash-api/revisions/e3713837c5c9?raw)
