WordPress at Your Fingertips
action is not described

woocommerce_api_create_coupon action-hook . WC 1.0

Usage

add_action( 'woocommerce_api_create_coupon', 'action_function_name_7040', 10, 2 );
function action_function_name_7040( $id, $data ){
	// action...
}
$id
-
$data
-

Where the hook is called

WC_API_Coupons::create_coupon()
woocommerce/includes/legacy/api/v2/class-wc-api-coupons.php 299
do_action( 'woocommerce_api_create_coupon', $id, $data );
woocommerce/includes/legacy/api/v3/class-wc-api-coupons.php 297
do_action( 'woocommerce_api_create_coupon', $id, $data );

Where in WP core the hook is used WooCommerce

Usage not found.