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 custom button was clicked via The WP Webhooks Logo for our WP Webhooks integration WP Webhooks, update a subscription 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, update a subscription via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a course access expired 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 a booking was cancelled 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 user completed a course via The WP Courseware Logo for our WP Webhooks integration WP Courseware, update a subscription via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a tag was added via The WP Fusion Logo for our WP Webhooks integration WP Fusion, update a subscription via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a membership was set to pending cancellation 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 product was viewed 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 quiz was completed 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 order was created via The Paid Membership Pro Logo for our WP Webhooks integration Paid Memberships Pro, update a subscription 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 subscription via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a contact was deleted via The FluentCRM Logo for our WP Webhooks integration FluentCRM, update a subscription via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a customer was updated 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 donation was revoked via The GiveWP Logo for our WP Webhooks integration GiveWP, update a subscription via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a WordPress hook was fired 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 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 tag was removed from a contact via The Groundhogg Logo for our WP Webhooks integration Groundhogg, update a subscription via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a form was submitted via The Fluent Forms Logo for our WP Webhooks integration Fluent Forms, update a subscription 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 subscription 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, update a subscription 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, 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.