---
search:
  tags:
    - Inventory
    - POST
seo:
  description: >-
    Use an active shelf of the destination site. Omitting… Reference for the
    POST /inventory/transfers/{id}/receive endpoint in the Toreca Cloud Partner
    API.
sidebar:
  label: Receive transferred units
  badge: POST
title: Receive transferred units
type: openapi-operation
---
Use an active shelf of the destination site. Omitting inventoryItemIds receives all in-transit lines. Already received lines are unchanged; returned lines are refused. In addition to inventory:read, this needs its operation scope and the approving member’s inventory.write permission.

`POST /inventory/transfers/{id}/receive`

**Request body** (`application/json`, required)

- `toLocationId` (string<uuid>, required)
- `inventoryItemIds` (string<uuid>[])

Request body example:

```json
{
  "toLocationId": "e81ad314-9cb9-45ae-9ad9-f1b5ebcc7aae",
  "inventoryItemIds": [
    "497f6eca-6276-4993-bfeb-53cbbbba6f08"
  ]
}
```

**Responses**

- `200` — Success
- `400` — \`invalid\_request\`: a parameter is invalid.
- `401` — \`invalid\_token\`: the token is missing, expired, or for another resource.
- `403` — One of \`insufficient\_scope\`, \`connection\_revoked\`, \`client\_disabled\` or \`forbidden\`.
- `404` — \`not\_found\`
- `409` — Conflict, reused requestId or receipt not confirmed
- `422` — The state, target or value refuses the operation. Inspect error and affected IDs.

Response example, 200:

```json
{
  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  "createdAt": "2019-08-24T14:15:22Z",
  "updatedAt": "2019-08-24T14:15:22Z",
  "transferNumber": "string",
  "status": "in_transit",
  "version": 0,
  "fromSiteId": "33a55c88-1ae8-426c-bfdd-0fd03c0d6ee1",
  "toSiteId": "80101396-c399-408c-88ad-cd8029268567",
  "carrier": "string",
  "trackingNumber": "string",
  "reason": "string",
  "externalRef": "string",
  "shippedAt": "2019-08-24T14:15:22Z",
  "completedAt": "2019-08-24T14:15:22Z",
  "items": [
    {
      "inventoryItemId": "ef1bc09e-447a-46aa-a9d9-d86e3d490831",
      "assetNumber": "string",
      "status": "in_transit",
      "fromLocationId": "178bb398-90d2-4fc3-a4a0-37fc0eed2806",
      "toLocationId": "e81ad314-9cb9-45ae-9ad9-f1b5ebcc7aae",
      "resolvedAt": "2019-08-24T14:15:22Z"
    }
  ]
}
```
