Move stock to another folder
sortly_move_itemMove some or all of an item's quantity to another folder (items only — relocate a folder with sortly_update_item parent_id). A partial move splits off a new item with the same sid; a full move relocates the item; a matching item at the destination is merged, and the returned id is the destination's. Undo by moving it back. WRITE. Sortly: POST /api/v1/items/{item_id}/move.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| item_id | Yes | The item's numeric id. | |
| quantity | Yes | How much to move. | |
| folder_id | No | Destination folder. Omit to move to the root level. | |
| leave_zero_quantity | No | Keep a zero-quantity record in the source folder. Default false. |