pospal_create_product
Creates a test product with auto-generated barcode and first category if not specified.
Instructions
【写】创建测试商品。barcode 为空则自动生成;category_uid 为空则用第一个分类。
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | ||
| barcode | No | ||
| buy_price | No | 5.00 | |
| sell_price | No | 9.99 | |
| category_uid | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||