update_store_product_variant
Update an existing product variant by modifying specific attributes like price, SKU, or inventory quantity. Only supplied fields are changed.
Instructions
Update an existing product variant's price, SKU, inventory, or other attributes.
Only fields supplied in additional_fields are changed. 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 that owns the variant. variant_id: Existing variant ID. additional_fields: Dict of documented fields to update (e.g. title, 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 updated variant object.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| account | No | ||
| store_id | Yes | ||
| product_id | Yes | ||
| variant_id | Yes | ||
| additional_fields | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |