Remove Inventory
logiwa_remove_inventoryRemove a specified quantity from an existing inventory record using its UUID. Adjust stock levels with an optional note and reason.
Instructions
Decreases (removes) quantity units from an existing inventory record.
Identify the record with 'inventoryIdentifier' (UUID) from logiwa_list_inventory.
Args:
inventoryIdentifier (string, required): UUID of the inventory record
quantity (number, required): quantity to remove
note (string): optional note
adjustmentReasonName (string): optional reason (must match a configured reason)
Returns: the operation result from Logiwa.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| note | No | Optional note recorded with the transaction. | |
| quantity | Yes | Quantity to remove. | |
| additional_fields | No | Escape hatch for any extra Logiwa request-body fields not exposed as typed parameters above. Keys must match the Logiwa API's camelCase field names; merged verbatim into the request body. | |
| inventoryIdentifier | Yes | Inventory record UUID (from logiwa_list_inventory). | |
| adjustmentReasonName | No | Optional adjustment reason name. |