Update download action

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

How to update a download

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

"Update download" arguments

Our so-called arguments are values that you can use to customize your request. They allow you to send specific data to the Update download 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.
download_id *

(Integer) The ID of the existing download

create_if_none

(String) Set this value to "yes" to create the download in case the given download id does not exist. Default: no

price

(float) The price of the download you want to use. Format: 19.99

is_variable_pricing

(string) Set this value to "yes" if you want to activate variable pricing for this product. Default: no

variable_prices

(string) A JSON formatted string, containing all of the variable product prices. Please see the description for further details.

default_price_id

(integer) The ID of the price variation you want to use as the default price.

download_files

(String) A JSON formatted string containing all of the downloable file. Please see the description for further details.

bundled_products

(String) A JSON formatted string, containing all of the bundled products. Please see the description for further details.

bundled_products_conditions

(String) A JSON formatted string that contains the price dependencies. Please see the description for further details.

increase_earnings

(Float) The price you would like to increase the lifetime earnings of this product. Please see the description for further details.

decrease_earnings

(Float) The price you would like to decrease the lifetime earnings of this product. Please see the description for further details.

increase_sales

(Integer) Increase the number of sales from a statistical point of view. Please see the description for further details.

decrease_sales

(Integer) Decrease the number of sales from a statistical point of view. Please see the description for further details.

hide_purchase_link

(String) Set this string to "yes" to hide the purchase button under the download. Please see the description for more details.

download_limit

(Integer) Limits how often a customer can globally download the purchase. Please see the description for further details.

download_author

(mixed) The ID or the email of the user who added the post. Default is the current user ID.

download_date

(string) The date of the post. Default is the current time. Format: 2018-12-31 11:11:11

download_date_gmt

(string) The date of the post in the GMT timezone. Default is the value of $post_date.

download_content

(string) The post content. Default empty.

download_content_filtered

(string) The filtered post content. Default empty.

download_title

(string) The post title. Default empty.

download_excerpt

(string) The post excerpt. Default empty.

download_status

(string) The post status. Default 'draft'.

comment_status

(string) Whether the post can accept comments. Accepts 'open' or 'closed'. Default is the value of 'default_comment_status' option.

ping_status

(string) Whether the post can accept pings. Accepts 'open' or 'closed'. Default is the value of 'default_ping_status' option.

download_password

(string) The password to access the post. Default empty.

download_name

(string) The post name. Default is the sanitized post title when creating a new post.

to_ping

(string) Space or carriage return-separated list of URLs to ping. Default empty.

pinged

(string) Space or carriage return-separated list of URLs that have been pinged. Default empty.

download_parent

(int) Set this for the post it belongs to, if any. Default 0.

menu_order

(int) The order the post should be displayed in. Default 0.

download_mime_type

(string) The mime type of the post. Default empty.

guid

(string) Global Unique ID for referencing the post. Default empty.

download_category

(string) A comma separated list of category names, slugs, or IDs. Defaults to value of the 'default_category' option. Example: cat_1,cat_2,cat_3

tags_input

(string) A comma separated list of tag names, slugs, or IDs. Default empty.

tax_input

(string) A simple or JSON formatted string containing existing taxonomy terms. Default empty. More details within the description.

meta_input

(string) A json or a comma and semicolon separated list of post meta values keyed by their post meta key. Default empty. More info in the description.

wp_error

Whether to return a WP_Error on failure. Posible values: "yes" or "no". Default value: "no".

do_action

Advanced: Register a custom action after Webhooks Pro fires this webhook. More infos are in 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 "Update download" action within our Easy Digital Downloads integrations. Down below you will find various examples with our other integrations.
When a post was updated via The WordPress Logo for our integration WordPress, update a download via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a user completed a unit via The WP Courseware Logo for our WP Webhooks integration WP Courseware, update a download via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a license was activated via The Easy Digital Downloads Logo for our integration Easy Digital Downloads, update a download 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, update a download via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a custom button was clicked via The WP Webhooks Logo for our WP Webhooks integration WP Webhooks, update a download via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When an import was processed via The WP All Import Logo for our WP Webhooks integration WP All Import, update a download via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a paid membership was cancelled via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro, update a download 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, update a download via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When an order was updated via The Paid Membership Pro Logo for our WP Webhooks integration Paid Memberships Pro, update a download 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), update a download via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When broken links have been detected via The Broken Link Checker Logo for our WP Webhooks integration Broken Link Checker, update a download via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a form was submitted via The Gravityforms Logo for our integration Gravity Forms, update a download via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a free membership was cancelled via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro, update a download via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a quiz was completed via The Tutor LMS Logo for our WP Webhooks integration Tutor LMS, update a download 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, update a download via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a subscription expired via The WooCommerce Subscriptions Logo for our WP Webhooks integration WooCommerce Subscriptions, update a download via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a purchase was completed via The WP Simple Pay Logo for our WP Webhooks integration WP Simple Pay, update a download 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, update a download via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a subscription payment was completed via The WooCommerce Subscriptions Logo for our WP Webhooks integration WooCommerce Subscriptions, update a download via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a HTTP request was received via The Webhooks Logo for our WP Webhooks integration Webhooks, update a download via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a payments status was changed via The Easy Digital Downloads Logo for our integration Easy Digital Downloads, update a download 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.