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 cover photo was removed 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 user enrolled into a course via The WP Courseware Logo for our WP Webhooks integration WP Courseware, update a customer via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a donation was refunded 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 profile photo was removed 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 contact was added to a list 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 user completed a unit via The WP Courseware Logo for our WP Webhooks integration WP Courseware, update a customer via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a form was submitted via The HappyForms Logo for our WP Webhooks integration HappyForms, update a customer via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a donation is processed 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 post 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 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 custom button was clicked 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 form was submitted via The WS Form Logo for our WP Webhooks integration WS Form, update a customer via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a form was submitted via The Fluent Forms Logo for our WP Webhooks integration Fluent Forms, 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 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 post 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 an order was created 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 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 ticket was created via The Fluent Support Logo for our WP Webhooks integration Fluent Support, update a customer via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
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 product review has been approved via The Woocommerce Logo for our integration WooCommerce, 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.