LeafLink / Create or Update Customer
appKey:
leaflink
actionKey:
create-or-update-customer
Action Inputs
The following parameters are available when configuring this action:
The id of the company which will own the customer.
The name of the customer. 1-400 characters
addressstring
Customer's address. 1-400 characters
citystring
City - for the address. 1-400 characters.
countrystring
Country - for the address. 1-400 characters.
customerIdstring
If using a
filter
find method, the id of the customer to update.descriptionstring
An overview of the customer. 1-4000 characters.
emailstring
The email address of the customer. 1-255 characters.
externalIdstring
The external id of the customer.
filterstring
Required if the customer find method is
filter
. The filter to search by. Accepted values are: - phone
- name
filterValuestring
Required if the
customerFindMethod
is filter
. The filter value to search by.findMethod"filter" | "select"
The method to use to find the customer. Accepted values are:
filter | select
licenseNumberstring
The license number of the customer. 1-100 characters.
nicknamestring
The alternate name for the customer. 1-200 characters
notesstring
Other information about the customer. 1-3000 characters.
phonestring
The phone number of the brand. 1-400 characters.
phoneExtensionstring
The phone extension of the brand. 1-20 characters.
statestring
State abbreviation for the address.
unitNumberstring
Unit # for the address
updateExistingCustomerboolean
If `true`, will update an existing customer using the `findMethod` and its relevant configuration.
websitestring
The website's customer. 1-400 characters
zipcodestring
Zipcode for the address.