grocy_stock_entry
Get, update, or print the Grocycode label for a stock entry; write actions require explicit confirmation.
Instructions
Stock entry. action get is GET /api/stock/entry/{entryId}. update is PUT. printlabel prints the Grocycode. Writes need confirm.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| open | No | ||
| price | No | ||
| action | Yes | ||
| amount | No | ||
| confirm | No | Set to the boolean true to execute the write. Omit this field for a dry-run preview. false and the string true are rejected. | |
| entry_id | Yes | Stock entry id. | |
| location_id | No | ||
| best_before_date | No | ||
| shopping_location_id | No |