# Warehouse Transfer Orders

Group: Inventory

[Open in the interactive reference](https://docs.api.lensing.ai/lensing/v1/groups/inventoryWarehouseTransferOrders)

A warehouse transfer order is a request to move a quantity of items from one warehouse to another.

A transfer order moves nothing itself. Converting the order creates a draft warehouse transfer, and the stock moves when that transfer is committed. On this resource, commit means converting the order.

An order's status comes from its lines, and no endpoint sets it directly. 'DRAFT' is a new order, 'IN_TRANSFER' has an uncommitted transfer, 'PARTIALLY_PROCESSED' still has open quantity after a transfer, and 'PROCESSED' has nothing open. Canceling a transfer in Lensing returns its quantity to the order and reopens the order. This API has no endpoint to cancel a transfer.

An order has quantities but no amounts. The warehouse transfer values the stock.

## Endpoints

- [List warehouse transfer orders](https://docs.api.lensing.ai/reference/lensing/v1/endpoints/warehouseTransferOrders.html): `GET /inventory/warehouse-transfer-orders`
- [Create a warehouse transfer order](https://docs.api.lensing.ai/reference/lensing/v1/endpoints/createTransferOrder.html): `POST /inventory/warehouse-transfer-orders`
- [Bulk create warehouse transfer orders](https://docs.api.lensing.ai/reference/lensing/v1/endpoints/bulkCreateTransferOrders.html): `POST /inventory/warehouse-transfer-orders/bulk`
- [Bulk delete warehouse transfer orders](https://docs.api.lensing.ai/reference/lensing/v1/endpoints/bulkDeleteTransferOrders.html): `POST /inventory/warehouse-transfer-orders/bulk-delete`
- [Search warehouse transfer orders](https://docs.api.lensing.ai/reference/lensing/v1/endpoints/searchTransferOrders.html): `POST /inventory/warehouse-transfer-orders/search`
- [Retrieve a warehouse transfer order](https://docs.api.lensing.ai/reference/lensing/v1/endpoints/getTransferOrder.html): `GET /inventory/warehouse-transfer-orders/{id}`
- [Update a warehouse transfer order](https://docs.api.lensing.ai/reference/lensing/v1/endpoints/updateTransferOrder.html): `PATCH /inventory/warehouse-transfer-orders/{id}`
- [Delete a warehouse transfer order](https://docs.api.lensing.ai/reference/lensing/v1/endpoints/deleteTransferOrder.html): `DELETE /inventory/warehouse-transfer-orders/{id}`
- [Commit a warehouse transfer order](https://docs.api.lensing.ai/reference/lensing/v1/endpoints/commitTransferOrder.html): `POST /inventory/warehouse-transfer-orders/{id}/commit`
