Action: Update customer

This webhook action allows you to update (and create) a customer within Easy Digital Downloads.
On this page you will find further information about the Update customer action and how to use it via WP Webhooks, as well as via other external services such as Integromat, Pabbly, Integrately, or Zapier.
The Update customer action is part of our Easy Digital Downloads integration.

Webhook setup guide

This section aims to help you getting started with the Update customer action.
Simply select one of your prefered automation manuals down below and start automating your WordPress website in no time.

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.

Connection examples

Get inspired on how to use the Easy Digital Downloads action. Down below you will find various examples with our other integrations.
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 coupon was restored 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 product 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 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 assignment was uploaded 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 user has logged in 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 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 user 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 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 coupon 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 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 form was submitted via The WPForms Logo for our integration WPForms, update a customer via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.
When a license status was updated 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 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 product was deleted 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 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 an action was fired 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 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 referral status changed 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 post 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 form was submitted via The Formidable Logo for our WP Webhooks integration Formidable Forms, update a customer via The Easy Digital Downloads Logo for our integration Easy Digital Downloads.

More available endpoints

Down below you will find a list of all available triggers and actions for the Easy Digital Downloads integration.
If you want 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.