Delete variant
delete_variantDelete a product variant by id. The variant moves to the bin and restore_deleted brings it back on the same product; 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). |