Update customer action

This action lets you update a customer via the Easy Digital Downloads integration. Use it to automate you daily work and 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 course access expired 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 an email was sent 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 taxonomy term 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 booking status was updated via The Amelia Logo for our WP Webhooks integration Amelia, update a customer via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a contact was removed from one or multiple lists via The Autonami Logo for our WP Webhooks integration Autonami, update a customer via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a membership was created via The WooCommerce Memberships Logo for our WP Webhooks integration WooCommerce Memberships, update a customer via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a comment was trashed 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 WordPress hook was fired 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 coupon was created 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 cover photo was updated 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 Zapier webhook request was received via The Zapier Logo for our WP Webhooks integration Zapier, update a customer 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 customer via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a license was activated 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 new license 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 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 an appointment was canceled via The Amelia Logo for our WP Webhooks integration Amelia, update a customer via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a plugin was deleted 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 product was added to the cart 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 new payout was received via The AffiliateWP Logo for our WP Webhooks integration AffiliateWP, update a customer via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a form was submitted via The Contact Form 7 Logo for our integration Contact Form 7, update a customer via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When the CDN cache was cleared via The W3 Total Cache Logo for our WP Webhooks integration W3 Total Cache, 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.