create_store_product_variant
Create a new variant (SKU, size, color) for an existing product in your store. Use for custom or headless storefronts that need manual variant management.
Instructions
Add a new variant to an existing product in a store.
Use to represent a distinct SKU, size, or color of a product. Many stores sync variants automatically via Shopify or WooCommerce integrations; these manual writes suit custom or headless storefronts.
Args: store_id: E-commerce store ID. product_id: Product ID to add the variant to. variant_id: Client-supplied unique ID for the new variant. title: Variant title (e.g. 'Large / Blue'). additional_fields: Optional dict of extra documented fields (e.g. url, sku, price, inventory_quantity, image_url) merged into the request body.
Returns: JSON with the created variant object.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | Yes | ||
| account | No | ||
| store_id | Yes | ||
| product_id | Yes | ||
| variant_id | Yes | ||
| additional_fields | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |