Create variant
create_variantCreates a new sellable variant under an existing product. Requires variant name and product ID; use get_operation_schema for full request details.
Instructions
Create a new variant (sellable item) under an existing product. Required: name and product_id. Call get_operation_schema("CreateVariant") for the exact request shape (pricing, stocks, media, ...).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| variant | Yes | Variant record matching the CreateVariantRequest schema (see get_operation_schema("CreateVariant")). Required: name, product_id. |