Add inventory item
hortusfox_add_inventory_itemAdd a new inventory item to the system. Provide a name and optional details such as tags, group, photo, amount, location, or description.
Instructions
Add a new inventory item. Returns the new item ID. Endpoint: /api/inventory/add.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Item name. | |
| tags | No | Optional comma-separated tags. | |
| group | No | Optional inventory group ID. | |
| photo | No | Optional photo URL. | |
| amount | No | Optional current amount/quantity. | |
| location | No | Optional location ID for the item. | |
| description | No | Optional item description. |