grocy_stock_open
Mark a product amount as opened in Grocy stock by product ID or barcode; omit confirm for a dry-run preview.
Instructions
Mark amount of a product as opened. POST open, by product_id or barcode. Omit confirm for a dry-run.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| amount | Yes | ||
| barcode | No | Product barcode. Provide this or product_id. | |
| 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. | |
| product_id | No | Product id. Provide this or barcode. | |
| stock_entry_id | No | ||
| allow_subproduct_substitution | No |