Update customer action

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

How to update a customer

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

"Update customer" 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 customer 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.
customer_value *

(String) The actual value you want to use to determine the customer. In case you havent set the get_customer_by argument or you set it to email, place the customer email in here.

get_customer_by

(String) The type of value you want to use to fetch the customer from the database. Possible values: email, customer_id, user_id. Default: email

customer_email

(String) The primary email of the customer you want to update. In case the user does not exists, we use this email to create it (If you have set the argument create_if_none to yes).

customer_first_name

(String) The first name of the customer.

customer_last_name

(String) The last name of the customer.

additional_emails

(String) A comma-separated list of additional email addresses. Please check the description for further details.

attach_payments

(String) A comma-, and doublepoint-separated list of payment ids you want to assign to the user. Please check the description for further details.

increase_purchase_count

(Integer) increase the purchase count for the customer.

increase_lifetime_value

(Float) The price you want to add to the lifetime value of the customer. Please check the description for further details.

set_primary_email

(String) The email you want to set as the new primary email. Default: customer_email

customer_notes

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

customer_meta

(String) A JSON formatted string containing one or multiple customer meta data. Please check the description for further details.

user_id

(Integer) The user id of the WordPress user you want to assign to the customer. Please read the description for further details.

create_if_none

Set this argument to "yes" if you want to create the customer in case it does not exist.

do_action

Advanced: Register a custom action after WP Webhooks 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 "Update customer" action within our Easy Digital Downloads integrations. Down below you will find various examples with our other integrations.
When a new subscription payment was created via The Easy Digital Downloads Logo for our integration Easy Digital Downloads, update a customer via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a comment was updated via The WordPress Logo for our integration WordPress, update a customer 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 customer via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a user started following a user via The wpDiscuz Logo for our WP Webhooks integration wpDiscuz, update a customer 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 customer via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a paid membership was cancelled via The Restrict Content Pro Logo for our WP Webhooks integration Restrict Content Pro, update a customer via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a user was registered via The WP User Manager Logo for our WP Webhooks integration WP User Manager, update a customer 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 customer via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a form was submitted via The Elementor Logo for our WP Webhooks integration Elementor, update a customer via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a form was submitted via The Divi Logo for our WP Webhooks integration Divi, update a customer 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 customer via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a customer was updated via The Woocommerce Logo for our integration WooCommerce, update a customer 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 customer 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 customer via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a membership was canceled via The Paid Membership Pro Logo for our WP Webhooks integration Paid Memberships Pro, update a customer via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a quiz was failed via The LearnDash Logo for our WP Webhooks integration LearnDash, update a customer via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a form was submitted via The Forminator Logo for our WP Webhooks integration Forminator, update a customer via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When an action URL request was received via The WP Webhooks Logo for our WP Webhooks integration WP Webhooks, update a customer via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a contact was added to a tag via The FluentCRM Logo for our WP Webhooks integration FluentCRM, update a customer via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a group access was removed via The LearnDash Logo for our WP Webhooks integration LearnDash, update a customer 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 customer 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.