createProduct
createProductCreate a new product in the catalog by specifying name and type, with optional configuration for SKU, description, tax codes, and custom attributes.
Instructions
Create a new product in the catalog.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the product. | |
| sku | No | SKU (stock keeping unit) identifier. | |
| description | No | Description of the product. | |
| type | Yes | Product type. Valid values: 'product' (standard product) or 'group' (product group). | |
| is_active | No | Whether the product is active. | |
| tax_codes | No | Tax code mapping object keyed by region/provider (e.g., {"avalara": "PS081282", "stripe": "txcd_99999999"}). | |
| custom_attributes | No | Custom attributes as key-value pairs. | |
| __userContext | No | Internal user context for multi-tenant authentication and approval workflow |