create_variation
Add a variation (size, color, etc.) to an existing product.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sku | No | Variation SKU | |
| name | No | Variation name | |
| price | Yes | Price as decimal string (e.g. "29.99") | |
| productId | Yes | The product ID | |
| memberPrice | No | Members-only price | |
| stockStatus | No | Stock status | |
| discountPrice | No | Discounted price | |
| stockQuantity | No | Stock quantity | |
| selectedOptions | No | Option selections e.g. {"Size": "Large"} |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Tool result payload — shape varies per tool, see the tool description | |
| summary | Yes | One-line human-readable summary of the action | |
| renderType | Yes | UI rendering hint for the result |