Update subscription action

This action lets you update a subscription via the Easy Digital Downloads integration. Use it to automate you daily work and 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 donation is pending 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 form was submitted via The Formidable Logo for our WP Webhooks integration Formidable Forms, update a subscription via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a product was created via The Woocommerce Logo for our integration WooCommerce, update a subscription via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When an order was created 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 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 the site cache was cleared via The Cache Enabler Logo for our WP Webhooks integration Cache Enabler, update a subscription via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a booking status was updated via The Amelia Logo for our WP Webhooks integration Amelia, 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 new referral was received 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 subscription trial ended via The WooCommerce Subscriptions Logo for our WP Webhooks integration WooCommerce Subscriptions, update a subscription via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a topic was created via The bbPress Logo for our WP Webhooks integration bbPress, update a subscription via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a post was updated via The WordPress Logo for our integration WordPress, update a subscription via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When an ACF term field was updated via The Advanced Custom Fields Logo for our WP Webhooks integration Advanced Custom Fields, 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 plugin was activated 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 customer was deleted 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 form was submitted via The WS Form Logo for our WP Webhooks integration WS Form, update a subscription via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a ticket was closed 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 comment 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 profile photo was changed via The Ultimate Member Logo for our WP Webhooks integration Ultimate Member, update a subscription 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, 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.