Add user membership action

This action lets you add a user membership via the WooCommerce Memberships integration. Use it to automate you daily work ans save time and resources.

How to add a user membership

This section aims to help you getting started on how to add a user membership via WooCommerce Memberships. Simply select one of your prefered automation manuals down below and start automating your WordPress website in no time.

"Add user membership" arguments

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

The user you want to assign the membership to. This argument accepts either the user ID or the user email.

membership_plan_id *

The membership plan id.

product_id

A product ID if you want to connect the memberhip with a product.

order_id

The order ID if you want to connect the membership with an order.

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 "Add user membership" action within our WooCommerce Memberships integrations. Down below you will find various examples with our other integrations.
When a subscription status was updated via The WooCommerce Subscriptions Logo for our WP Webhooks integration WooCommerce Subscriptions, add a user membership via The WooCommerce Memberships Logo for our WP Webhooks integration WooCommerce Memberships.
When a contact status was updated via The FluentCRM Logo for our WP Webhooks integration FluentCRM, add a user membership via The WooCommerce Memberships Logo for our WP Webhooks integration WooCommerce Memberships.
When a membership was cancelled via The WooCommerce Memberships Logo for our WP Webhooks integration WooCommerce Memberships, add a user membership via The WooCommerce Memberships Logo for our WP Webhooks integration WooCommerce Memberships.
When a Integrately webhook request was received via The Integrately Logo for our WP Webhooks integration Integrately, add a user membership via The WooCommerce Memberships Logo for our WP Webhooks integration WooCommerce Memberships.
When a paid membership expired via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro, add a user membership via The WooCommerce Memberships Logo for our WP Webhooks integration WooCommerce Memberships.
When a user started following a user via The wpDiscuz Logo for our WP Webhooks integration wpDiscuz, add a user membership via The WooCommerce Memberships Logo for our WP Webhooks integration WooCommerce Memberships.
When a membership was set to pending cancellation via The WooCommerce Memberships Logo for our WP Webhooks integration WooCommerce Memberships, add a user membership via The WooCommerce Memberships Logo for our WP Webhooks integration WooCommerce Memberships.
When a ticket was created via The Fluent Support Logo for our WP Webhooks integration Fluent Support, add a user membership via The WooCommerce Memberships Logo for our WP Webhooks integration WooCommerce Memberships.
When a form was submitted via The Contact Form 7 Logo for our integration Contact Form 7, add a user membership via The WooCommerce Memberships Logo for our WP Webhooks integration WooCommerce Memberships.
When a user was updated via The WordPress Logo for our integration WordPress, add a user membership via The WooCommerce Memberships Logo for our WP Webhooks integration WooCommerce Memberships.
When a Zapier webhook request was received via The Zapier Logo for our WP Webhooks integration Zapier, add a user membership via The WooCommerce Memberships Logo for our WP Webhooks integration WooCommerce Memberships.
When a coupon was deleted via The Woocommerce Logo for our integration WooCommerce, add a user membership via The WooCommerce Memberships Logo for our WP Webhooks integration WooCommerce Memberships.
When a form was submitted via The WPForms Logo for our integration WPForms, add a user membership via The WooCommerce Memberships Logo for our WP Webhooks integration WooCommerce Memberships.
When a user completed a course via The WP Courseware Logo for our WP Webhooks integration WP Courseware, add a user membership via The WooCommerce Memberships Logo for our WP Webhooks integration WooCommerce Memberships.
When a membership was created via The WooCommerce Memberships Logo for our WP Webhooks integration WooCommerce Memberships, add a user membership via The WooCommerce Memberships Logo for our WP Webhooks integration WooCommerce Memberships.
When an order was created via The Woocommerce Logo for our integration WooCommerce, add a user membership via The WooCommerce Memberships Logo for our WP Webhooks integration WooCommerce Memberships.
When a license was deactivated via The Easy Digital Downloads Logo for our integration Easy Digital Downloads, add a user membership via The WooCommerce Memberships Logo for our WP Webhooks integration WooCommerce Memberships.
When a donation was completed via The GiveWP Logo for our WP Webhooks integration GiveWP, add a user membership via The WooCommerce Memberships Logo for our WP Webhooks integration WooCommerce Memberships.
When a subscription trial ended via The WooCommerce Subscriptions Logo for our WP Webhooks integration WooCommerce Subscriptions, add a user membership via The WooCommerce Memberships Logo for our WP Webhooks integration WooCommerce Memberships.
When a user was registered via The WP User Manager Logo for our WP Webhooks integration WP User Manager, add a user membership via The WooCommerce Memberships Logo for our WP Webhooks integration WooCommerce Memberships.
When a topic was favored via The bbPress Logo for our WP Webhooks integration bbPress, add a user membership via The WooCommerce Memberships Logo for our WP Webhooks integration WooCommerce Memberships.

More available WooCommerce Memberships endpoints

Discover more of the available endpoints used for the WooCommerce Memberships 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.