LeafLink / Create or Update Customer
appKey:
leaflink
actionKey:
create-or-update-customer
Action Inputs
The following parameters are available when configuring this action:
companyId
Company
Select the company which will own the customer.
The id of the company which will own the customer.
string
customerId
Customer Id
If using a
filter
find method, the id of the customer to update.string | undefined
email
Email
If a customer with this email already exists, it will be updated.
The email address of the customer. 1-255 characters.
string | undefined
filter
Search by
Required if the customer find method is
filter
. The filter to search by. Accepted values are: - phone
- name
string | undefined
filterValue
Search value
Required if the
customerFindMethod
is filter
. The filter value to search by.string | undefined
findMethod
Find Method
The method to use to find the customer. Accepted values are:
filter | select
('filter' | 'select') | undefined
updateExistingCustomer
Update Existing Customer
Select to update an existing customer.
If `true`, will update an existing customer using the `findMethod` and its relevant configuration.
boolean | undefined