How to cancel one or multiple user subscriptions
This section aims to help you getting started on how to cancel one or multiple user subscriptions via WooCommerce Subscriptions. Simply select one of your prefered automation manuals down below and start automating your WordPress website in no time.
"Cancel user 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 Cancel user 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.
To learn more about it, please see the Setup Guide above.
user *
The user you want to assign the membership to. This argument accepts either the user ID or the user email.
subscription_ids
A comma-separated list of subscription IDs for which you want to cancel the subscriptions. Please note: In case the subscription contains more products, they will be cancelled as well.
product_ids
A comma-separated list of product IDs for which you want to cancel the subscriptions. Please note: In case the subscription contains more products, they will be cancelled as well.
cancel_all
Cancel all subscriptions for the given user.
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 "Cancel user subscription" action within our WooCommerce Subscriptions integrations. Down below you will find various examples with our other integrations.
When a customer was updated via
Easy Digital Downloads, cancel one or multiple user subscriptions via
WooCommerce Subscriptions.

When a form was submitted via
Contact Form 7, cancel one or multiple user subscriptions via
WooCommerce Subscriptions.

When a form was submitted via
Forminator, cancel one or multiple user subscriptions via
WooCommerce Subscriptions.

When a tag was added to a contact via
Groundhogg, cancel one or multiple user subscriptions via
WooCommerce Subscriptions.

When a donation was cancelled via
GiveWP, cancel one or multiple user subscriptions via
WooCommerce Subscriptions.
When a user has logged in via
WordPress, cancel one or multiple user subscriptions via
WooCommerce Subscriptions.
When a post was trashed via
WordPress, cancel one or multiple user subscriptions via
WooCommerce Subscriptions.
When a topic reply was created via
bbPress, cancel one or multiple user subscriptions via
WooCommerce Subscriptions.

When a ticket was closed via
Fluent Support, cancel one or multiple user subscriptions via
WooCommerce Subscriptions.

When a user password was recovered via
WP User Manager, cancel one or multiple user subscriptions via
WooCommerce Subscriptions.
When a user completed a course via
WP Courseware, cancel one or multiple user subscriptions via
WooCommerce Subscriptions.
When a membership was set to pending cancellation via
WooCommerce Memberships, cancel one or multiple user subscriptions via
WooCommerce Subscriptions.
When a file was downloaded via
Easy Digital Downloads, cancel one or multiple user subscriptions via
WooCommerce Subscriptions.

When a purchase was completed via
WP Simple Pay, cancel one or multiple user subscriptions via
WooCommerce Subscriptions.

When a donation is processed via
GiveWP, cancel one or multiple user subscriptions via
WooCommerce Subscriptions.
When a form was submitted via
JetEngine, cancel one or multiple user subscriptions via
WooCommerce Subscriptions.
When a user completed a module via
WP Courseware, cancel one or multiple user subscriptions via
WooCommerce Subscriptions.
When a subscription status was updated via
WooCommerce Subscriptions, cancel one or multiple user subscriptions via
WooCommerce Subscriptions.
When a comment was updated via
WordPress, cancel one or multiple user subscriptions via
WooCommerce Subscriptions.
More available WooCommerce Subscriptions endpoints
Discover more of the available endpoints used for the WooCommerce Subscriptions integration.
To learn more about a specific endpoint, simply click on it.
To learn more about a specific endpoint, simply click on it.