Add an article
plu_addAdd a new item/article to the shop catalog. Requires a title. Optional fields include price, department (deptID), VAT rate (vatID), barcode, stock, variations, and many more.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price | No | Selling price | |
| stock | No | Current stock quantity | |
| title | No | Product display name | |
| vatID | No | VAT rate ID for takeaway/standard sales | |
| deptID | No | Parent department ID | |
| unitID | No | Unit of measure ID (e.g. kg, litre) | |
| weight | No | Product weight | |
| barcode | No | Product barcode (EAN, QR, etc.) | |
| calories | No | Calorie count | |
| position | No | Display position/order on keyboard | |
| shopHide | No | 1 to hide from online shop, 0 to show | |
| needPrepa | No | 1 if product requires kitchen preparation | |
| discountID | No | Default discount ID applied to this product | |
| eatinvatID | No | VAT rate ID for eat-in sales | |
| internalID | No | Internal reference or SKU | |
| shortTitle | No | Short label shown on receipt or keyboard | |
| stockAlert | No | Low-stock alert threshold | |
| supplierID | No | Supplier ID | |
| buyingPrice | No | Cost/buying price (for margin calculation) | |
| description | No | Full product description | |
| prepaLength | No | Estimated preparation time in minutes | |
| activityCode | No | Accounting activity code | |
| keyboardHide | No | 1 to hide from POS keyboard, 0 to show | |
| variationID0 | No | Variation type ID for slot 0 | |
| variationID1 | No | Variation type ID for slot 1 | |
| variationID2 | No | Variation type ID for slot 2 | |
| variationID3 | No | Variation type ID for slot 3 | |
| variationID4 | No | Variation type ID for slot 4 | |
| consumptionDate | No | Expiry/consumption date |