Update product variants in batch
ecommerce_updateProductVariantsInBatchV1Update up to 100 product variants by ID, adjusting titles, inventory, stock tracking, and prices. Omitted variants remain unchanged; prices are fully replaced.
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. |