Inventory Consume One
يستهلك قطعة واحدة سبق حجزها من نفس الموقع:
- inventory_locations: reserved -= 1
- inventory: يختار سجلًا مطابقًا (loc_id نفسه، status='on_hand', sku_code, inventory_id) ويجعله consumed
- يُرجع _id للسجل المستهلك
post/api/inventory/consume-one
Request
- Base URLhttps://api.liposta.com (the document declares no server; this is the origin it was published from)
- URLhttps://api.liposta.com/api/inventory/consume-one
- Authnone declared
Request body
Response
Successful Response
unknown required
Changes
No recorded changes to this operation across all 1 revision of this API.