Update Customer by ID
Updates the specified Customer by setting the values of the parameters on the customer object passed. Before calling this endpoint, it may be beneficial to call [Get Customer by ID](/api-reference/api/customers/get-customers-customer-id) to obtain a Customer Object. Change the desired fields in the Customer object and then modify the object before calling the update endpoint with the modified object.
Authentication
AuthorizationBasic
Path parameters
customerId
The identifier of the Customer to be retrieved.
Request
This endpoint expects an object.
name
Full name of the Customer
address
Valid mailing or billing address associated with the customer
phone
Customer phone number.
email
Customer email address.
taxId
Customer tax ID (e.g. SSN [US], SIN [CA]). May be required depending on industry and location.
dateOfBirth
Customer date of birth.
externalId
A unique merchant customer identifier.
merchantId
A unique Trustly merchant identifier.
enrollDate
Date of the user's first transaction in your system, regardless of payment method used as a UNIX timestamp.
vip
Range that determines how low-risk the customer represents to the merchant
currency
Customer currency.
balance
Customer account balance (not associated with a financial institution account).
organizationNumber
Organization number for business accounts
externalTier
It should describe the customer”s rank to the merchant (e.g. Gold, Diamond, 4 stars, etc.)
personId
Unique customer identity throughout different banks.
customData
Object for sending merchant-specific custom data.
driverLicense
nationalId
Customer National ID
Response
OK
customer
The Trustly customer object, containing identification details and contact information.