---
title: "Move One"
method: POST
path: "/api/inventory/move-one"
---

# Move One

`POST /api/inventory/move-one`

## Request

- Base URL: `https://api.liposta.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.liposta.com/api/inventory/move-one`
- Auth: none declared

يدعم الآن النقل من 'pending' أو 'returning' إلى أي مخزن مبيعات (allow_sales=True).
يخصم من المصدر (on_hand--) ويضيف إلى الهدف (on_hand++) ويحوّل حالة الـ serial إلى 'on_hand'.

## Request body

- MoveOnePayload
  - `inv_id` string, required: inventory._id (serial_id)
  - `to_loc_id` string, required
  - `reason` string, nullable
  - `user` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/liposta/apis/liposta-api.md) - [All operations](https://skmtc.dev/liposta/apis/liposta-api/llms.txt) - [OpenAPI document](https://skmtc.dev/liposta/apis/liposta-api/revisions/583b8b6acecd?raw)
