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

# Dispose One

`POST /api/inventory/dispose-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/dispose-one`
- Auth: none declared

إتلاف قطعة واحدة من 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/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)
