Delete discount action

This action lets you delete a discount via the Easy Digital Downloads integration. Use it to automate you daily work and 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 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 donation is processed 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 Make (Integromat) HTTP request was received via The Make (Integromat) Logo for our WP Webhooks integration Make (Integromat), delete a discount via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a course access was granted 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 the page cache was cleared via The Hummingbird Logo for our WP Webhooks integration Hummingbird, delete a discount via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a Automate.io webhook request was received via The Automate.io Logo for our WP Webhooks integration Automate.io, delete a discount via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a post 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 user completed a course via The WP Courseware Logo for our WP Webhooks integration WP Courseware, delete a discount via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a n8n HTTP request was received via The n8n Logo for our WP Webhooks integration n8n, delete a discount via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a paid membership expired 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 created 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 website comment was created via The ProjectHuddle Logo for our WP Webhooks integration ProjectHuddle, delete a discount via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a user unfollowed 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 subscription status was updated via The WooCommerce Subscriptions Logo for our WP Webhooks integration WooCommerce Subscriptions, delete a discount via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When the localized cache was cleared via The LiteSpeed Cache Logo for our WP Webhooks integration LiteSpeed Cache, delete a discount via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a booking was set to pending via The Events Manager Logo for our WP Webhooks integration Events Manager, delete a discount via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a post was deleted via The WordPress Logo for our integration WordPress, delete a discount via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When an entry was approved via The GravityKit Logo for our WP Webhooks integration GravityKit, delete a discount via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a form was submitted via The Ninja Forms Logo for our WP Webhooks integration Ninja Forms, delete a discount via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a form was submitted via The HappyForms Logo for our WP Webhooks integration HappyForms, delete a discount via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a donation failed 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.

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.