delete_coupon
Delete a WooCommerce coupon by ID, moving it to trash by default. Set force to true for permanent deletion.
Instructions
Delete a coupon. Moves to trash by default; set force=true to permanently delete.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Coupon ID | |
| force | No | True to permanently delete | |
| fields | No | Comma-separated fields to return in response |