create_store_product_variant
Add a new variant (SKU, size, color) to an existing product in a store, suitable for custom or headless storefronts.
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.
Authenticated via API key. Max 10 concurrent requests. Respects read-only and dry-run modes.
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. account: Optional account name (e.g. 'marketing') configured via MAILCHIMP_API_KEY_. Omit to use the default account. See list_accounts.
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 |