create_product
Create a new product or service in the catalog with title, price, and tax settings. Accepts sale_price as a string to avoid floating-point errors.
Instructions
Create a new product or service in the catalog. Monetary values must be strings (e.g. '99.99') to avoid floating-point issues.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Product code or SKU for internal reference | |
| unit | No | Unit of measurement ID (obtain from list_units), e.g. hours, pieces, kg | |
| notes | No | Internal notes about this product | |
| taxes | No | Array of tax IDs to apply by default on this product (obtain IDs via list_taxes) | |
| title | Yes | Product or service name | |
| sale_price | No | Default selling price before tax as a string, e.g. '99.99' | |
| description | No | Detailed description of the product or service | |
| purchase_price | No | Default purchase/cost price before tax as a string, e.g. '60.00' |