update-variant-price
Change a product variant's price, optionally setting a compare-at price, by providing product and variant IDs.
Instructions
Update the price (and optionally compare-at price) of a product variant.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| price | Yes | New price as a decimal string, e.g. '19.99' | |
| productId | Yes | Product ID that owns the variant | |
| variantId | Yes | Variant ID (numeric ID or gid://shopify/ProductVariant/... form) | |
| compareAtPrice | No | Optional compare-at (strikethrough) price as a decimal string |