Delete discount action

This action lets you delete a discount via the Easy Digital Downloads integration. Use it to automate you daily work ans save time and resources.

How to delete a discount

This section aims to help you getting started on how to delete a discount via Easy Digital Downloads. Simply select one of your prefered automation manuals down below and start automating your WordPress website in no time.

"Delete discount" arguments

Our so-called arguments are values that you can use to customize your request. They allow you to send specific data to the Delete discount action which is then handled accordingly to the described purpose. You can use the arguments that you would like to send values for.
To learn more about it, please see the Setup Guide above.
discount_id *

(Mixed) The dicsount ID or discount code of the discount you want to delete.

do_action

Advanced: Register a custom action after WP Webhooks fires this webhook. More info is within the description.

wpwh_call_action

(String) Register a custom WordPress hook callback. The value will be called as followed: do_action( $yourdefinedaction, $action_return_data, $request_data )

Connection examples

Get inspired on how to use the "Delete discount" action within our Easy Digital Downloads integrations. Down below you will find various examples with our other integrations.
When a quiz was failed via The LearnDash Logo for our WP Webhooks integration LearnDash, delete a discount via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a user started following a user via The wpDiscuz Logo for our WP Webhooks integration wpDiscuz, delete a discount via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a product review has been approved via The Woocommerce Logo for our integration WooCommerce, delete a discount via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a subscription status has changed via The Easy Digital Downloads Logo for our integration Easy Digital Downloads, delete a discount via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When an ACF comment field was updated via The Advanced Custom Fields Logo for our WP Webhooks integration Advanced Custom Fields, delete a discount via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a referral status changed via The AffiliateWP Logo for our WP Webhooks integration AffiliateWP, delete a discount via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a donation was preapproved via The GiveWP Logo for our WP Webhooks integration GiveWP, delete a discount via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a user was updated via The WP User Manager Logo for our WP Webhooks integration WP User Manager, delete a discount via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a coupon was updated via The Woocommerce Logo for our integration WooCommerce, delete a discount via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a paid membership was activated via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro, delete a discount via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a membership was paused via The WooCommerce Memberships Logo for our WP Webhooks integration WooCommerce Memberships, delete a discount via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a customer was created via The Woocommerce Logo for our integration WooCommerce, delete a discount via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a product was deleted via The Woocommerce Logo for our integration WooCommerce, delete a discount via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When an order was deleted via The Paid Membership Pro Logo for our WP Webhooks integration Paid Memberships Pro, delete a discount via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a user password was changed via The WP User Manager Logo for our WP Webhooks integration WP User Manager, delete a discount via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a product was restored via The Woocommerce Logo for our integration WooCommerce, delete a discount via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a vote was added via The wpDiscuz Logo for our WP Webhooks integration wpDiscuz, delete a discount via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a form was submitted via The WPForms Logo for our integration WPForms, delete a discount via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a comment was trashed via The WordPress Logo for our integration WordPress, delete a discount via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a donation was abandoned via The GiveWP Logo for our WP Webhooks integration GiveWP, delete a discount via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a membership has expired via The Paid Membership Pro Logo for our WP Webhooks integration Paid Memberships Pro, delete a discount via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.

More available Easy Digital Downloads endpoints

Discover more of the available endpoints used for the Easy Digital Downloads integration.
To learn more about a specific endpoint, simply click on it.
Full disclosure: When clicking on some of the links on our website and purchasing the related product and/or service, we may earn a commission free of any additional cost for you.