upsert_stock_adjustment
Create or update a stock adjustment in inFlow Inventory to add or remove inventory by location. Legacy immediate write; use set_stock_adjustment instead.
Instructions
[LEGACY IMMEDIATE WRITE — HIGH RISK: BYPASSES INFLOW_ENABLE_SAFE_WRITES] Use set_stock_adjustment instead. Create or update a stock adjustment to add or remove inventory
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Adjustment ID (required for updates) | |
| items | Yes | Items to adjust | |
| remarks | No | Notes/remarks | |
| reasonId | No | Adjustment reason ID | |
| timestamp | No | ||
| locationId | Yes | Location ID where adjustment occurs | |
| customFields | No | ||
| adjustmentDate | No | Adjustment date (ISO format) |