Adjust Inventory
logiwa_adjust_inventoryAdjust inventory by setting a new on-hand quantity for a specific record, overwriting the current count. Provide the inventory UUID and target quantity.
Instructions
Adjusts the on-hand quantity of an inventory record to a new value. This overwrites the counted quantity.
Identify the record with 'inventoryIdentifier' (UUID) from logiwa_list_inventory.
Args:
inventoryIdentifier (string, required): UUID of the inventory record
quantity (number, required): quantity to adjust
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 adjust. | |
| 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. |