create_variant
Add a variant to an existing product by specifying an options map and prices, such as Size: 'XL' with a USD price amount. Configure SKU, title, and inventory management to meet store requirements.
Instructions
Add a variant to an existing product. Provide options map + prices. e.g. options:{ Size:'XL' }, prices:[{amount:30,currency_code:'usd'}].
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sku | No | ||
| title | Yes | ||
| prices | No | ||
| options | No | Map of option title -> value. | |
| product_id | Yes | ||
| manage_inventory | No |