---
title: "Transfer inventory from one location to another"
method: POST
path: "/Inventory/{itemId}/transfer"
tags: ["Inventory"]
---

# Transfer inventory from one location to another

`POST /Inventory/{itemId}/transfer`

## Request

- Base URL: `https://api.clinicos.vet/backend/business`
- URL: `https://api.clinicos.vet/backend/business/Inventory/{itemId}/transfer`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/docs/Inventory/:itemId/transfer/post.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `itemId` string, required

## Request body

- TransferInventoryDto
  - `lotId` string
  - `fromLocationId` string
  - `toLocationId` string
  - `quantity` union
    - number, double
    - string, double
  - `notes` string, nullable

## Response `200`

OK

- InventoryTransactionDto
  - `id` string
  - `inventoryItemId` string
  - `inventoryItem` InventoryItemSummaryDto
    - `id` string
    - `name` string
    - `sku` string, nullable
    - `category` string
    - `trackLots` boolean
    - `totalOnHand` union
      - integer
      - string, int32
    - `reorderPoint` union
      - integer
      - string, int32
  - `inventoryLotId` string, nullable
  - `inventoryLot` InventoryLotSummaryDto
    - `id` string
    - `lotNumber` string, nullable
    - `containerId` string, nullable
    - `expirationDate` string, date-time, nullable
  - `transactionType` string
  - `quantity` union
    - number, double
    - string, double
  - `balanceAfter` union
    - number, double
    - string, double
  - `patientId` string, nullable
  - `patient` DEAPatientSummaryDto
    - `id` string
    - `name` string
    - `species` string
    - `clientId` string, nullable
    - `clientName` string, nullable
  - `userId` string
  - `user` DEAUserSummaryDto
    - `id` string
    - `displayName` string
    - `firstName` string, nullable
    - `lastName` string, nullable
    - `email` string
  - `witnessUserId` string, nullable
  - `witnessUser` DEAUserSummaryDto
    - `id` string
    - `displayName` string
    - `firstName` string, nullable
    - `lastName` string, nullable
    - `email` string
  - `reason` string, nullable
  - `notes` string, nullable
  - `deaEntryId` string, nullable
  - `transactionDate` string, date-time
  - `createdAt` string, date-time
  - `warning` string, nullable

## Other responses

- `400`: Bad Request
- `404`: Not Found

---

[API](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1.md) - [All operations](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/llms.txt) - [OpenAPI document](https://skmtc.dev/clinicos/apis/pawthosx-business-api-v1/revisions/099cf36186e0?raw)
