# Move stock between locations

How stock travels between your locations without losing custody: a transfer names the lines up front, submitting reserves them at the source, shipping carries them at their book value, and receiving lands them — with every shortfall or surplus disposed by name, never silently.

Warehouse · a guided walk in 5 steps.

## The steps

1. **Compose the transfer** — The transfer is the move’s paper: which items, how much, from where to where — fixed before anything moves. — [createTransfer](/reference/inventory-operations/createTransfer/)
2. **Submit to reserve** — Submitting sets the stock aside at the source so it cannot be sold out from under the move; a same-place move completes right here. — [submitTransfer](/reference/inventory-operations/submitTransfer/)
3. **Ship it** — Shipping marks the goods as on the road, carried at their book value until they land. — [shipTransfer](/reference/inventory-operations/shipTransfer/)
4. **Receive what lands** — Receiving records what actually arrived — on hand, or held for review; partial arrivals are normal, receive again as more lands. — [receiveTransfer](/reference/inventory-operations/receiveTransfer/)
5. **Close it — or resolve the differences** — A fully-landed move closes; anything missing or extra is disposed by name — loss, damage, found, scrap, or returned — so the books never drift silently. — [closeTransfer](/reference/inventory-operations/closeTransfer/), [resolveTransfer](/reference/inventory-operations/resolveTransfer/)

## The calls

Every operation this use case runs, in the order it first appears, with the request and the response its reference page shows.

### createTransfer

[createTransfer](/reference/inventory-operations/createTransfer/) — mutation · Create a new stock transfer between locations at your organization.

**Example request**

```graphql
mutation ExampleCreateTransfer($input: CreateTransferInput!) {
  createTransfer(input: $input) {
    id
    sysId
    type
    caption
    status
    parentId
    rootId
    createdAt
    updatedAt
    revisionNum
    revision
    destinationLogicalFacilityId
    weight
    sourceOrganizationId
    destinationOrganizationId
    expectedArrivalAt
    carrierRefs
  }
}
```

Variables:

```json
{
  "input": {
    "caption": "Blue jeans",
    "sourceLogicalFacilityId": "01900000-0000-7000-8000-4971feb30000",
    "destinationLogicalFacilityId": "01900000-0000-7000-8000-3885245e0000",
    "lines": [
      {
        "inventoryItemId": "01900000-0000-7000-8000-9307d9650000",
        "quantity": "2"
      }
    ]
  }
}
```

Send it with the envelope naming the version: `"extensions": {"at": {"version": {"name":"genesis","number":0}}}`.

**Example response**

```json
{
  "data": {
    "createTransfer": {
      "id": "01900000-0000-7000-8000-37386ae00000",
      "sysId": "TF-EXMP-0000-000F",
      "type": "Transfer",
      "caption": "Blue jeans",
      "status": "draft",
      "parentId": "01900000-0000-7000-8000-065235280000",
      "rootId": "01900000-0000-7000-8000-a093dd800000",
      "createdAt": "2027-01-31T00:00:00.000Z",
      "updatedAt": "2027-01-31T00:00:00.000Z",
      "revisionNum": 1,
      "revision": "01900000-0000-7000-8000-b7960e180000",
      "destinationLogicalFacilityId": "01900000-0000-7000-8000-3885245e0000",
      "weight": "<weight>",
      "sourceOrganizationId": "01900000-0000-7000-8000-b627156a0000",
      "destinationOrganizationId": "01900000-0000-7000-8000-fcbbe67d0000",
      "expectedArrivalAt": "2027-01-31T00:00:00.000Z",
      "carrierRefs": [
        "<carrier refs>"
      ]
    }
  },
  "extensions": {
    "at": {
      "callId": "01EXAMPLE-CALL-ID",
      "version": {
        "requested": {
          "name": "genesis",
          "number": 0
        },
        "serviced": {
          "name": "genesis",
          "number": 0
        }
      }
    }
  }
}
```

### submitTransfer

[submitTransfer](/reference/inventory-operations/submitTransfer/) — mutation · Submit a stock transfer — commit the move between your locations.

**Example request**

```graphql
mutation ExampleSubmitTransfer($id: ID!, $revision: ID!, $reason: String) {
  submitTransfer(id: $id, revision: $revision, reason: $reason) {
    id
    sysId
    type
    caption
    status
    parentId
    rootId
    createdAt
    updatedAt
    revisionNum
    revision
    destinationLogicalFacilityId
    weight
    sourceOrganizationId
    destinationOrganizationId
    expectedArrivalAt
    carrierRefs
  }
}
```

Variables:

```json
{
  "id": "01900000-0000-7000-8000-37386ae00000",
  "revision": "01900000-0000-7000-8000-b7960e180000",
  "reason": "Correcting a miscount."
}
```

Send it with the envelope naming the version: `"extensions": {"at": {"version": {"name":"genesis","number":0}}}`.

**Example response**

```json
{
  "data": {
    "submitTransfer": {
      "id": "01900000-0000-7000-8000-37386ae00000",
      "sysId": "TF-EXMP-0000-000F",
      "type": "Transfer",
      "caption": "Blue jeans",
      "status": "draft",
      "parentId": "01900000-0000-7000-8000-065235280000",
      "rootId": "01900000-0000-7000-8000-a093dd800000",
      "createdAt": "2027-01-31T00:00:00.000Z",
      "updatedAt": "2027-01-31T00:00:00.000Z",
      "revisionNum": 1,
      "revision": "01900000-0000-7000-8000-b7960e180000",
      "destinationLogicalFacilityId": "01900000-0000-7000-8000-3885245e0000",
      "weight": "<weight>",
      "sourceOrganizationId": "01900000-0000-7000-8000-b627156a0000",
      "destinationOrganizationId": "01900000-0000-7000-8000-fcbbe67d0000",
      "expectedArrivalAt": "2027-01-31T00:00:00.000Z",
      "carrierRefs": [
        "<carrier refs>"
      ]
    }
  },
  "extensions": {
    "at": {
      "callId": "01EXAMPLE-CALL-ID",
      "version": {
        "requested": {
          "name": "genesis",
          "number": 0
        },
        "serviced": {
          "name": "genesis",
          "number": 0
        }
      }
    }
  }
}
```

### shipTransfer

[shipTransfer](/reference/inventory-operations/shipTransfer/) — mutation · Ship a transfer — the stock physically leaves the sender.

**Example request**

```graphql
mutation ExampleShipTransfer($input: ShipTransferInput!, $revision: ID!, $reason: String) {
  shipTransfer(input: $input, revision: $revision, reason: $reason) {
    id
    sysId
    type
    caption
    status
    parentId
    rootId
    createdAt
    updatedAt
    revisionNum
    revision
    destinationLogicalFacilityId
    weight
    sourceOrganizationId
    destinationOrganizationId
    expectedArrivalAt
    carrierRefs
  }
}
```

Variables:

```json
{
  "input": {
    "transferId": "01900000-0000-7000-8000-1d47d93b0000",
    "expectedArrivalAt": "2027-01-31T00:00:00.000Z"
  },
  "revision": "01900000-0000-7000-8000-b7960e180000",
  "reason": "Correcting a miscount."
}
```

Send it with the envelope naming the version: `"extensions": {"at": {"version": {"name":"genesis","number":0}}}`.

**Example response**

```json
{
  "data": {
    "shipTransfer": {
      "id": "01900000-0000-7000-8000-37386ae00000",
      "sysId": "TF-EXMP-0000-000F",
      "type": "Transfer",
      "caption": "Blue jeans",
      "status": "draft",
      "parentId": "01900000-0000-7000-8000-065235280000",
      "rootId": "01900000-0000-7000-8000-a093dd800000",
      "createdAt": "2027-01-31T00:00:00.000Z",
      "updatedAt": "2027-01-31T00:00:00.000Z",
      "revisionNum": 1,
      "revision": "01900000-0000-7000-8000-b7960e180000",
      "destinationLogicalFacilityId": "01900000-0000-7000-8000-3885245e0000",
      "weight": "<weight>",
      "sourceOrganizationId": "01900000-0000-7000-8000-b627156a0000",
      "destinationOrganizationId": "01900000-0000-7000-8000-fcbbe67d0000",
      "expectedArrivalAt": "2027-01-31T00:00:00.000Z",
      "carrierRefs": [
        "<carrier refs>"
      ]
    }
  },
  "extensions": {
    "at": {
      "callId": "01EXAMPLE-CALL-ID",
      "version": {
        "requested": {
          "name": "genesis",
          "number": 0
        },
        "serviced": {
          "name": "genesis",
          "number": 0
        }
      }
    }
  }
}
```

### receiveTransfer

[receiveTransfer](/reference/inventory-operations/receiveTransfer/) — mutation · Receive a transfer — the stock arrives and books into the receiver.

**Example request**

```graphql
mutation ExampleReceiveTransfer($input: ReceiveTransferInput!, $revision: ID!, $reason: String) {
  receiveTransfer(input: $input, revision: $revision, reason: $reason) {
    id
    sysId
    type
    caption
    status
    parentId
    rootId
    createdAt
    updatedAt
    revisionNum
    revision
    destinationLogicalFacilityId
    weight
    sourceOrganizationId
    destinationOrganizationId
    expectedArrivalAt
    carrierRefs
  }
}
```

Variables:

```json
{
  "input": {
    "transferId": "01900000-0000-7000-8000-1d47d93b0000",
    "receipts": [
      {
        "lineNo": 1,
        "quantity": "2",
        "toBucket": "on_hand"
      }
    ],
    "surplus": [
      {
        "lineNo": 1,
        "quantity": "2",
        "toBucket": "on_hand"
      }
    ]
  },
  "revision": "01900000-0000-7000-8000-b7960e180000",
  "reason": "Correcting a miscount."
}
```

Send it with the envelope naming the version: `"extensions": {"at": {"version": {"name":"genesis","number":0}}}`.

**Example response**

```json
{
  "data": {
    "receiveTransfer": {
      "id": "01900000-0000-7000-8000-37386ae00000",
      "sysId": "TF-EXMP-0000-000F",
      "type": "Transfer",
      "caption": "Blue jeans",
      "status": "draft",
      "parentId": "01900000-0000-7000-8000-065235280000",
      "rootId": "01900000-0000-7000-8000-a093dd800000",
      "createdAt": "2027-01-31T00:00:00.000Z",
      "updatedAt": "2027-01-31T00:00:00.000Z",
      "revisionNum": 1,
      "revision": "01900000-0000-7000-8000-b7960e180000",
      "destinationLogicalFacilityId": "01900000-0000-7000-8000-3885245e0000",
      "weight": "<weight>",
      "sourceOrganizationId": "01900000-0000-7000-8000-b627156a0000",
      "destinationOrganizationId": "01900000-0000-7000-8000-fcbbe67d0000",
      "expectedArrivalAt": "2027-01-31T00:00:00.000Z",
      "carrierRefs": [
        "<carrier refs>"
      ]
    }
  },
  "extensions": {
    "at": {
      "callId": "01EXAMPLE-CALL-ID",
      "version": {
        "requested": {
          "name": "genesis",
          "number": 0
        },
        "serviced": {
          "name": "genesis",
          "number": 0
        }
      }
    }
  }
}
```

### closeTransfer

[closeTransfer](/reference/inventory-operations/closeTransfer/) — mutation · Close a completed transfer.

**Example request**

```graphql
mutation ExampleCloseTransfer($id: ID!, $revision: ID!, $reason: String) {
  closeTransfer(id: $id, revision: $revision, reason: $reason) {
    id
    sysId
    type
    caption
    status
    parentId
    rootId
    createdAt
    updatedAt
    revisionNum
    revision
    destinationLogicalFacilityId
    weight
    sourceOrganizationId
    destinationOrganizationId
    expectedArrivalAt
    carrierRefs
  }
}
```

Variables:

```json
{
  "id": "01900000-0000-7000-8000-37386ae00000",
  "revision": "01900000-0000-7000-8000-b7960e180000",
  "reason": "Correcting a miscount."
}
```

Send it with the envelope naming the version: `"extensions": {"at": {"version": {"name":"genesis","number":0}}}`.

**Example response**

```json
{
  "data": {
    "closeTransfer": {
      "id": "01900000-0000-7000-8000-37386ae00000",
      "sysId": "TF-EXMP-0000-000F",
      "type": "Transfer",
      "caption": "Blue jeans",
      "status": "draft",
      "parentId": "01900000-0000-7000-8000-065235280000",
      "rootId": "01900000-0000-7000-8000-a093dd800000",
      "createdAt": "2027-01-31T00:00:00.000Z",
      "updatedAt": "2027-01-31T00:00:00.000Z",
      "revisionNum": 1,
      "revision": "01900000-0000-7000-8000-b7960e180000",
      "destinationLogicalFacilityId": "01900000-0000-7000-8000-3885245e0000",
      "weight": "<weight>",
      "sourceOrganizationId": "01900000-0000-7000-8000-b627156a0000",
      "destinationOrganizationId": "01900000-0000-7000-8000-fcbbe67d0000",
      "expectedArrivalAt": "2027-01-31T00:00:00.000Z",
      "carrierRefs": [
        "<carrier refs>"
      ]
    }
  },
  "extensions": {
    "at": {
      "callId": "01EXAMPLE-CALL-ID",
      "version": {
        "requested": {
          "name": "genesis",
          "number": 0
        },
        "serviced": {
          "name": "genesis",
          "number": 0
        }
      }
    }
  }
}
```

### resolveTransfer

[resolveTransfer](/reference/inventory-operations/resolveTransfer/) — mutation · Resolve a transfer’s missing or damaged residuals — decide loss, damage, or found, in one step.

**Example request**

```graphql
mutation ExampleResolveTransfer($input: ResolveTransferInput!, $revision: ID!, $reason: String) {
  resolveTransfer(input: $input, revision: $revision, reason: $reason) {
    id
    sysId
    type
    caption
    status
    parentId
    rootId
    createdAt
    updatedAt
    revisionNum
    revision
    destinationLogicalFacilityId
    weight
    sourceOrganizationId
    destinationOrganizationId
    expectedArrivalAt
    carrierRefs
  }
}
```

Variables:

```json
{
  "input": {
    "transferId": "01900000-0000-7000-8000-1d47d93b0000",
    "resolutions": [
      {
        "lineNo": 1,
        "quantity": "2",
        "disposition": "<disposition>",
        "reason": "Correcting a miscount."
      }
    ]
  },
  "revision": "01900000-0000-7000-8000-b7960e180000",
  "reason": "Correcting a miscount."
}
```

Send it with the envelope naming the version: `"extensions": {"at": {"version": {"name":"genesis","number":0}}}`.

**Example response**

```json
{
  "data": {
    "resolveTransfer": {
      "id": "01900000-0000-7000-8000-37386ae00000",
      "sysId": "TF-EXMP-0000-000F",
      "type": "Transfer",
      "caption": "Blue jeans",
      "status": "draft",
      "parentId": "01900000-0000-7000-8000-065235280000",
      "rootId": "01900000-0000-7000-8000-a093dd800000",
      "createdAt": "2027-01-31T00:00:00.000Z",
      "updatedAt": "2027-01-31T00:00:00.000Z",
      "revisionNum": 1,
      "revision": "01900000-0000-7000-8000-b7960e180000",
      "destinationLogicalFacilityId": "01900000-0000-7000-8000-3885245e0000",
      "weight": "<weight>",
      "sourceOrganizationId": "01900000-0000-7000-8000-b627156a0000",
      "destinationOrganizationId": "01900000-0000-7000-8000-fcbbe67d0000",
      "expectedArrivalAt": "2027-01-31T00:00:00.000Z",
      "carrierRefs": [
        "<carrier refs>"
      ]
    }
  },
  "extensions": {
    "at": {
      "callId": "01EXAMPLE-CALL-ID",
      "version": {
        "requested": {
          "name": "genesis",
          "number": 0
        },
        "serviced": {
          "name": "genesis",
          "number": 0
        }
      }
    }
  }
}
```
