Dispose One

إتلاف قطعة واحدة من pending أو returning:

  • inventory_locations.on_hand -= 1 (في نفس الموقع)
  • inventory.status -> disposed (مع إبقاء loc_id كما هو)
  • تسجيل حركة 'dispose'
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

Request body

serial_idstring required

inventory._id (serial_id)

loc_id'pending' | 'returning' required
reasonstring nullable
userstring nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.