Delete variant
delete_variantPermanently delete a product variant by id. This cannot be undone; to create or edit a variant instead use save_variant.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | No | Id of the variant to delete. Required in practice. | |
| productid | Yes | Id of the parent product the variant belongs to (required). |