Create item
phppos_create_itemWRITE: create an inventory item (name required). Stock quantities are not set here. Needs a Read/Write API key. Retrying creates a duplicate (search with phppos_list_items first). The store's item webhooks, if configured, fire. POST /items.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Item name. | |
| size | No | Size. | |
| tags | No | Tag names. | |
| cost_price | No | Cost price. | |
| is_service | No | True for a service (no stock tracking). | |
| product_id | No | Product id / SKU. | |
| unit_price | No | Selling price. | |
| category_id | No | Category id - see phppos_list_categories. | |
| description | No | Short description. | |
| item_number | No | Barcode / item number (UPC). | |
| promo_price | No | Promotional price. | |
| supplier_id | No | Supplier person id - see phppos_list_suppliers. | |
| item_inactive | No | True to deactivate the item (it can no longer be sold). | |
| reorder_level | No | Stock level at which the item shows as low. |