---
title: "Dispose One"
method: POST
path: "/api/inventory/dispose-one"
---

# Dispose One

`POST /api/inventory/dispose-one`

إتلاف قطعة واحدة من pending أو returning:
- inventory_locations.on_hand -= 1 (في نفس الموقع)
- inventory.status -> disposed (مع إبقاء loc_id كما هو)
- تسجيل حركة 'dispose'

## Request body

- DisposeOnePayload
  - `serial_id` string, required — inventory._id (serial_id)
  - `loc_id` 'pending' | 'returning', 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)
