List coupons
wp_wc_list_couponsList published WooCommerce coupons with ID, code, amount, discount type and expiry date, newest first in a single read-only page for auditing or managing promotions.
Instructions
WooCommerce: list the shop's published coupons with id, code, amount, discount_type and expires (YYYY-MM-DD or null). One page only, newest first; there is no paging. Read-only; needs manage_woocommerce. Requires WooCommerce.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| per_page | No | How many coupons, 1 to 200. Default 50. |