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

# Move One

`POST /api/inventory/move-one`

يدعم الآن النقل من '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/fastapi.md) · [All operations](https://skmtc.dev/liposta/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/liposta/fastapi/revisions/583b8b6acecd/schema)
