ecommerce_updateProductVariantsInBatchV1
Batch update up to 100 product variants by ID—modify titles, inventory, stock tracking, and prices; omitted variants remain unchanged.
Instructions
Update up to 100 existing variants in place by id — title, inventory, stock tracking and prices. Variants omitted from the request are left untouched. Prices replace the variant's existing prices in full. Returns the updated variants.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| store_id | Yes | The ID of the store that owns the product. | |
| variants | Yes | Variants to update in place by id, up to 100. Variants omitted from the list are left untouched. | |
| product_id | Yes | The ID of the product whose variants are being updated. |