Update subscription action

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

How to update a subscription

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

"Update subscription" 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 subscription 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.
subscription_id *

(Integer) The id of the subscription you would like to update.

expiration_date

(String) The date for the expiration of the subscription. Recommended format: 2021-05-25 11:11:11

profile_id

(String) This is the unique ID of the subscription in the merchant processor, such as PayPal or Stripe.

download_id

(Integer) The ID of the download you want to connect with the subscription.

customer_email

(String) The email of the customer in case you do not have the customer id. Please see the description for further details.

period

(String) The billing period of the subscription. Please see the description for further details.

initial_amount

(Mixed) The amount for the initial payment. E.g. 39.97

recurring_amount

(Mixed) The recurring amount for the subscription. E.g. 19.97

transaction_id

(String) This is the unique ID of the initial transaction inside of the merchant processor, such as PayPal or Stripe.

status

(String) The status of the given subscription. Please see the description for further details.

created_date

(String) The date of creation of the subscription. Recommended format: 2021-05-25 11:11:11

bill_times

(Integer) This refers to the number of times the subscription will be billed before being marked as Completed and payments stopped. Enter 0 if payments continue indefinitely.

parent_payment_id

(Integer) Use this argument to connect the subscription with an already existing payment. Please see the description for further details.

customer_id

(Integer) The id of the customer you want to connect. If it is not given, we try to fetch the user from the customer_email argument. Please see the description for further details.

edd_price_option

(Integer) The variation id for a download price option. Please see the description for further details.

initial_tax_rate

(Integer) The percentage for your initial tax rate. Please see the description for further details.

initial_tax

(Float) The amount of tax for your initial tax amount. Please see the description for further details.

recurring_tax_rate

(Integer) The percentage for your recurring tax rate. Please see the description for further details.

recurring_tax

(Float) The amount of tax for your recurring tax amount. Please see the description for further details.

notes

(String) A JSON formatted string containing one or multiple subscription notes. Please check the description for further details.

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 "Update subscription" action within our Easy Digital Downloads integrations. Down below you will find various examples with our other integrations.
When a booking was set to pending via The Events Manager Logo for our WP Webhooks integration Events Manager, update a subscription via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a free membership was activated via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro, update a subscription via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a coupon was restored via The Woocommerce Logo for our integration WooCommerce, update a subscription 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 subscription via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a course was completed via The Tutor LMS Logo for our WP Webhooks integration Tutor LMS, update a subscription via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When an affiliate status was changed via The AffiliateWP Logo for our WP Webhooks integration AffiliateWP, update a subscription via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a new license was created via The Easy Digital Downloads Logo for our integration Easy Digital Downloads, update a subscription via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a new affiliate signed up via The AffiliateWP Logo for our WP Webhooks integration AffiliateWP, update a subscription 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 subscription 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 subscription via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a file was downloaded via The Easy Digital Downloads Logo for our integration Easy Digital Downloads, update a subscription via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a user has logged in via The WordPress Logo for our integration WordPress, update a subscription via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a license was deactivated via The Easy Digital Downloads Logo for our integration Easy Digital Downloads, update a subscription via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a post was created via The WordPress Logo for our integration WordPress, update a subscription via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a membership expired via The WooCommerce Memberships Logo for our WP Webhooks integration WooCommerce Memberships, update a subscription via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a ticket was reopened via The Fluent Support Logo for our WP Webhooks integration Fluent Support, update a subscription via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a user was deleted via The WordPress Logo for our integration WordPress, update a subscription via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a group access was granted via The LearnDash Logo for our WP Webhooks integration LearnDash, update a subscription 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 subscription via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a KlickTipp outbound request was received via The KlickTipp Logo for our WP Webhooks integration KlickTipp, update a subscription 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 subscription 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.