> ## 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.

# storageLocationInventoryTransfer

> Move stock from one bin or storage location to another in the same warehouse, as the warehouse app's instant transfer does: units of a product, or lots and license-plated units by inventory item. Everything moves in one completed transfer or nothing does. A quantity is checked against what the source bin holds less what open transfers and picks have committed from it. Each move is written to the inventory ledger as a transfer, recorded under the API key or app that made it, and the new availability is then pushed to the store. A product that tracks lots moves by lot: the API never records lot-tracked stock without a lot. Returns the storage location inventory levels it changed, or null when the source bin isn't one of your bins or storage locations. Only where Redo is the inventory source of truth for the warehouse. Errors: BAD_USER_INPUT for the same bin twice, an item listed twice, an item without exactly one of `productId` and `inventoryItemId`, a product without a quantity, a quantity out of range, a license-plated unit with a quantity other than 1, or more than 50 items; BIN_NOT_FOUND (400) when the destination isn't one of your bins or storage locations; BINS_AT_DIFFERENT_LOCATIONS (400); PRODUCT_NOT_FOUND (400) and INVENTORY_ITEM_NOT_FOUND (400) for one that isn't yours or a managed merchant's; LOT_REQUIRED (400) for a lot-tracked product given by `productId`; LOCATION_NOT_INVENTORY_SOURCE_OF_TRUTH (400); INVENTORY_ITEM_NOT_IN_SOURCE_BIN (409) when an inventory item isn't in the source bin; INSUFFICIENT_BIN_QUANTITY (409) when the source bin has fewer units available than requested; IDEMPOTENCY_KEY_REUSED (422).

**Required scopes:** [`inventory_write`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-inventory_write)

**Store must have one of:** `WMS`

## Arguments

**fromStorageLocationId** `ID!` *required*

The bin or storage location the stock leaves.

**idempotencyKey** `String`

A key you choose, 1 to 400 characters, that makes a retry safe. The key is kept on the transfer it made, so it never expires, and two requests racing on one key never both move stock. Repeating the request with the same key moves nothing more and returns the storage location inventory levels the first request changed. The same key with a different request fails with IDEMPOTENCY\_KEY\_REUSED (422). Omit it and every call moves stock.

**items** `[\[StorageLocationInventoryTransferItemInput!\]!](/docs/api-reference/v3/reference/inventory/storage-location-inventory-transfer-item-input)` *required*

What to move, each product or inventory item once, 1 to 50.

**fields**

**inventoryItemId** `ID`

The lot or license-plated unit to move. It must be in the source bin.

**productId** `ID`

The product to move: yours or a managed merchant's. A product that tracks lots moves by lot, through `inventoryItemId`.

**quantity** `Int`

The units to move, from 1 to 1000000. Required with `productId`. A lot moves this many units, 1 if omitted; a license-plated unit always moves as 1.

**toStorageLocationId** `ID!` *required*

The bin or storage location the stock goes to, in the same warehouse.

## Returns

**storageLocationInventoryTransfer** `[StorageLocationInventoryTransferResult](/docs/api-reference/v3/reference/inventory/storage-location-inventory-transfer-result)`

The outcome of `storageLocationInventoryTransfer`.

**fields**

**storageLocationInventoryLevels** `[\[BinInventoryLevel!\]!](/docs/api-reference/v3/reference/inventory/bin-inventory-level)` *required*

The storage location inventory levels the move changed, in both storage locations.

**fields**

**createdAt** `[DateTime!](/docs/api-reference/v3/reference/common/date-time)` *required*

When the record was created.

**id** `ID!` *required*

The id of this bin-level inventory record.

**inventoryItem** `[InventoryItem](/docs/api-reference/v3/reference/inventory/inventory-item)`

The specific inventory item this level tracks, when item-scoped.

**Requires:** [`inventory_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-inventory_read)

**fields**

**binInventoryLevels** `[BinInventoryLevelConnection!](/docs/api-reference/v3/pagination)` *required*

Bin-level quantity rows for this inventory item.

**Requires:** [`inventory_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-inventory_read)

**fields**

**Arguments**

**after** `String`

Forward pagination cursor — returns items after it. Pass an `edges[].cursor` or `pageInfo.endCursor` from a previous page.

**before** `String`

Backward pagination cursor — returns items before it. Pass an `edges[].cursor` or `pageInfo.startCursor` from a previous page.

**first** `Int`

Forward pagination: returns the first N items (max 100, default 25). Use with `after`; mutually exclusive with `last`/`before`.

**last** `Int`

Backward pagination: returns the last N items (max 100, default 25). Use with `before`; mutually exclusive with `first`/`after`.

**createdAt** `[DateTime!](/docs/api-reference/v3/reference/common/date-time)` *required*

When the record was created.

**disposition** `[InventoryItemDisposition](/docs/api-reference/v3/reference/inventory/inventory-item-disposition)`

Planned disposition for return inventory.

**expirationDate** `[Date](/docs/api-reference/v3/reference/common/date)`

Expiration date for lot-tracked stock. Null when the lot has no expiration set.

**grade** `String`

The condition grade as stored: a standard grade (A to E) or a merchant-defined name. Null when ungraded.

**id** `ID!` *required*

The id of this inventory item.

**itemClass** `[InventoryItemClass](/docs/api-reference/v3/reference/inventory/inventory-item-class)`

Item classification.

**kind** `[InventoryItemKind!](/docs/api-reference/v3/reference/inventory/inventory-item-kind)` *required*

The kind of inventory unit.

**location** `[Location!](/docs/api-reference/v3/reference/inventory/location)` *required*

The warehouse this unit is associated with.

**Requires:** [`locations_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-locations_read)

**lotNumber** `String`

Lot number, when lot tracking applies.

**product** `[InventoryProduct](/docs/api-reference/v3/reference/inventory/inventory-product)`

The product this unit is tied to, when applicable.

**Requires:** [`inventory_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-inventory_read)

**quantity** `Int!` *required*

The number of units this record represents.

**storageLocation** `[StorageLocation](/docs/api-reference/v3/reference/inventory/storage-location)`

The bin or slot where this unit currently resides.

**Requires:** [`locations_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-locations_read)

**updatedAt** `[DateTime!](/docs/api-reference/v3/reference/common/date-time)` *required*

When the record was last updated.

**inventoryProduct** `[InventoryProduct](/docs/api-reference/v3/reference/inventory/inventory-product)`

The product this quantity belongs to, when the level is product-scoped.

**Requires:** [`inventory_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-inventory_read)

**fields**

**barcodes** `[String!]!` *required*

Barcodes associated with this product, for scanning.

**customsDescription** `String`

The plain description of the product that customs officers read, for customs.

**dimensions** `[Dimensions](/docs/api-reference/v3/reference/catalog/dimensions)`

The product's length, width, and height in a single shared unit, for box sizing.

**hsCode** `String`

The Harmonized System code used for customs.

**id** `ID!` *required*

The id of this product.

**image** `[ProductImage](/docs/api-reference/v3/reference/catalog/product-image)`

The first (default) image for this product, if any.

**Requires:** [`inventory_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-inventory_read)

**materialDescription** `String`

What the product is made of, for customs.

**originCountry** `String`

The country of origin, as a country code, for customs.

**sku** `String`

The stock keeping unit identifying this product.

**title** `String!` *required*

The product's title.

**upc** `String`

The Universal Product Code for this product.

**weight** `[Weight](/docs/api-reference/v3/reference/catalog/weight)`

The product's weight, for shipping.

**lastCountedAt** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

When this bin-level quantity was last cycle-counted.

**ledgerEntries** `[InventoryLevelLedgerEntryConnection!](/docs/api-reference/v3/pagination)` *required*

Append-only quantity change history for this bin-level inventory record. Load via `storageLocationInventoryLevel(id) { ledgerEntries(...) }` or `StorageLocation.binInventoryLevels { ledgerEntries(...) }`.

**Requires:** [`inventory_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-inventory_read)

**fields**

**Arguments**

**after** `String`

Forward pagination cursor — returns items after it. Pass an `edges[].cursor` or `pageInfo.endCursor` from a previous page.

**before** `String`

Backward pagination cursor — returns items before it. Pass an `edges[].cursor` or `pageInfo.startCursor` from a previous page.

**createdAtAfter** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

Only return entries recorded at or after this instant.

**createdAtBefore** `[DateTime](/docs/api-reference/v3/reference/common/date-time)`

Only return entries recorded before this instant.

**first** `Int`

Forward pagination: returns the first N items (max 100, default 25). Use with `after`; mutually exclusive with `last`/`before`.

**kind** `[\[InventoryLevelAdjustmentKind!\]](/docs/api-reference/v3/reference/inventory/inventory-level-adjustment-kind)`

Only return entries with one of these adjustment kinds.

**last** `Int`

Backward pagination: returns the last N items (max 100, default 25). Use with `before`; mutually exclusive with `first`/`after`.

**orderBy** `[InventoryLevelLedgerEntrySortKey](/docs/api-reference/v3/reference/inventory/inventory-level-ledger-entry-sort-key)`

Which key to sort by (defaults to the first key, newest-first). Combine with `reverse` to flip direction.

**reverse** `Boolean`

Reverses the sort direction selected by `orderBy` (or its default).

**Fields**

**edges** `[\[InventoryLevelLedgerEntryEdge!\]!](/docs/api-reference/v3/pagination)` *required*

The list of edges (each a node plus its pagination `cursor`).

**nodes** `[\[InventoryLevelLedgerEntry!\]!](/docs/api-reference/v3/reference/inventory/inventory-level-ledger-entry)` *required*

The nodes in this page, without the edge/cursor wrapper — a convenience over `edges`.

**pageInfo** `[PageInfo!](/docs/api-reference/v3/pagination)` *required*

Pagination metadata for the current page.

**location** `[Location](/docs/api-reference/v3/reference/inventory/location)`

The warehouse this quantity is held at.

**Requires:** [`locations_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-locations_read)

**fields**

**city** `String`

The city of the location's address.

**company** `String`

The company name associated with the location.

**countryCode** `String`

The country code, e.g. "US".

**createdAt** `[DateTime!](/docs/api-reference/v3/reference/common/date-time)` *required*

When the record was created.

**id** `ID!` *required*

The id of this location.

**inventoryItems** `[InventoryItemConnection!](/docs/api-reference/v3/pagination)` *required*

Traceable inventory units at this warehouse.

**Requires:** [`inventory_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-inventory_read)

**fields**

**Arguments**

**after** `String`

Forward pagination cursor — returns items after it. Pass an `edges[].cursor` or `pageInfo.endCursor` from a previous page.

**before** `String`

Backward pagination cursor — returns items before it. Pass an `edges[].cursor` or `pageInfo.startCursor` from a previous page.

**first** `Int`

Forward pagination: returns the first N items (max 100, default 25). Use with `after`; mutually exclusive with `last`/`before`.

**last** `Int`

Backward pagination: returns the last N items (max 100, default 25). Use with `before`; mutually exclusive with `first`/`after`.

**inventoryLevels** `[LocationInventoryLevelConnection!](/docs/api-reference/v3/pagination)` *required*

Per-product inventory levels held at this location.

**Requires:** [`inventory_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-inventory_read)

**fields**

**Arguments**

**after** `String`

Forward pagination cursor — returns items after it. Pass an `edges[].cursor` or `pageInfo.endCursor` from a previous page.

**before** `String`

Backward pagination cursor — returns items before it. Pass an `edges[].cursor` or `pageInfo.startCursor` from a previous page.

**first** `Int`

Forward pagination: returns the first N items (max 100, default 25). Use with `after`; mutually exclusive with `last`/`before`.

**last** `Int`

Backward pagination: returns the last N items (max 100, default 25). Use with `before`; mutually exclusive with `first`/`after`.

**name** `String!` *required*

The location's display name.

**phone** `String`

The contact phone number for the location.

**postalCode** `String`

The postal or ZIP code, e.g. "84101".

**stateCode** `String`

The state or province code, e.g. "UT".

**storageLocations** `[StorageLocationConnection!](/docs/api-reference/v3/pagination)` *required*

Bins and other storage locations within this warehouse.

**Requires:** [`locations_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-locations_read)

**fields**

**Arguments**

**after** `String`

Forward pagination cursor — returns items after it. Pass an `edges[].cursor` or `pageInfo.endCursor` from a previous page.

**before** `String`

Backward pagination cursor — returns items before it. Pass an `edges[].cursor` or `pageInfo.startCursor` from a previous page.

**first** `Int`

Forward pagination: returns the first N items (max 100, default 25). Use with `after`; mutually exclusive with `last`/`before`.

**last** `Int`

Backward pagination: returns the last N items (max 100, default 25). Use with `before`; mutually exclusive with `first`/`after`.

**street1** `String`

The first line of the street address.

**street2** `String`

The second line of the street address.

**updatedAt** `[DateTime!](/docs/api-reference/v3/reference/common/date-time)` *required*

When the record was last updated.

**maxQuantity** `Int`

Maximum quantity allowed in the bin, when capped.

**quantity** `Int!` *required*

Quantity on hand in the storage location.

**storageLocation** `[StorageLocation!](/docs/api-reference/v3/reference/inventory/storage-location)` *required*

The bin or slot holding this quantity.

**Requires:** [`locations_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-locations_read)

**fields**

**binInventoryLevels** `[BinInventoryLevelConnection!](/docs/api-reference/v3/pagination)` *required*

Product quantities held in this storage location.

**Requires:** [`inventory_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-inventory_read)

**fields**

**Arguments**

**after** `String`

Forward pagination cursor — returns items after it. Pass an `edges[].cursor` or `pageInfo.endCursor` from a previous page.

**before** `String`

Backward pagination cursor — returns items before it. Pass an `edges[].cursor` or `pageInfo.startCursor` from a previous page.

**first** `Int`

Forward pagination: returns the first N items (max 100, default 25). Use with `after`; mutually exclusive with `last`/`before`.

**inStock** `Boolean`

true returns only rows holding stock (quantity above zero). false returns only empty or negative rows, such as emptied assignments and LOST balancing entries.

**last** `Int`

Backward pagination: returns the last N items (max 100, default 25). Use with `before`; mutually exclusive with `first`/`after`.

**orderBy** `[BinInventoryLevelSortKey](/docs/api-reference/v3/reference/inventory/bin-inventory-level-sort-key)`

Which key to sort by (creation time, newest first). Combine with `reverse` to flip direction.

**reverse** `Boolean`

Reverses the sort direction selected by `orderBy` (or its default).

**createdAt** `[DateTime!](/docs/api-reference/v3/reference/common/date-time)` *required*

When the record was created.

**id** `ID!` *required*

The id of this storage location.

**inventoryItems** `[InventoryItemConnection!](/docs/api-reference/v3/pagination)` *required*

Inventory items currently in this storage location.

**Requires:** [`inventory_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-inventory_read)

**fields**

**Arguments**

**after** `String`

Forward pagination cursor — returns items after it. Pass an `edges[].cursor` or `pageInfo.endCursor` from a previous page.

**before** `String`

Backward pagination cursor — returns items before it. Pass an `edges[].cursor` or `pageInfo.startCursor` from a previous page.

**first** `Int`

Forward pagination: returns the first N items (max 100, default 25). Use with `after`; mutually exclusive with `last`/`before`.

**last** `Int`

Backward pagination: returns the last N items (max 100, default 25). Use with `before`; mutually exclusive with `first`/`after`.

**isSellable** `Boolean!` *required*

Whether on-hand quantity in this slot counts as sellable inventory.

**location** `[Location!](/docs/api-reference/v3/reference/inventory/location)` *required*

The warehouse this storage location belongs to.

**Requires:** [`locations_read`](https://developers.redo.com/docs/api-reference/v3/reference/scopes#scope-locations_read)

**name** `String!` *required*

The display name of the bin or slot.

**priority** `[StorageLocationPriority](/docs/api-reference/v3/reference/inventory/storage-location-priority)`

Pick priority relative to other bins, when set.

**source** `[StorageLocationSource!](/docs/api-reference/v3/reference/inventory/storage-location-source)` *required*

How this record was created.

**stockedProductCount** `Int!` *required*

How many product levels in this storage location have a quantity above zero.

**totalQuantity** `Int!` *required*

The sum of every level's quantity in this storage location.

**type** `[StorageLocationType!](/docs/api-reference/v3/reference/inventory/storage-location-type)` *required*

The kind of storage location.

**updatedAt** `[DateTime!](/docs/api-reference/v3/reference/common/date-time)` *required*

When the record was last updated.

**updatedAt** `[DateTime!](/docs/api-reference/v3/reference/common/date-time)` *required*

When the record was last updated.

## Example

```graphql theme={null}
mutation {
  storageLocationInventoryTransfer(fromStorageLocationId: "...", idempotencyKey: "...", items: { ... }, toStorageLocationId: "...")
}
```


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