delete_variant
Delete a specific product variant by providing the product ID and variant ID. Ensure the product retains at least one variant after deletion.
Instructions
Delete a product variant. A product must always have at least one variant.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| product_id | Yes | The numeric Shopify product ID. | |
| variant_id | Yes | The numeric variant ID to delete. |