Adds or removes stock for an item at one location.
Requires ManageInventory and an Idempotency-Key header. A positive delta creates that many stock units at the location exactly like "Add inventory" on the Items page (template properties, cost, barcodes copied); a negative delta writes off the oldest available units the way "Delete" on the Inventory page does (soft delete - restorable in the app, recorded in each unit's change history with reason). Stock never goes negative here: removing more than is on hand answers 409 and changes nothing. Units in transit on a transfer are never touched. Omit locationId for the organization's "No Location" bucket. Misc items, parent groups and sub-unit items hold no stock (409); job sites are refused (422). Example: { "locationId": 3, "delta": -2, "reason": "Damaged in van" }.
Request
- Base URL: https://app.flexonthejob.com
- URL: https://app.flexonthejob.com/api/v1/items/{id}/stock/adjust
- Auth: HTTP bearer
Path parameters
Numeric item id.
Request body
Response
Stock changed; body carries the confirmation and the item's updated per-location stock.
Changes
No recorded changes to this operation across all 1 revision of this API.