Change the name, email and/or contact preference on a customer's login. Name and email are synced everywhere the customer appears — the login, every line they hold and their open orders. Completed orders keep the details they were paid under. An address already used by another customer is refused (422). A changed address counts as unconfirmed again (verified: false) until the customer confirms it. A chat preference only delivers once that chat is linked to the account in Panelr's own member area.
Request Parameters
Field
Type
Required
Description
customer_id
integer
Requiredone of these two
The customer
customer_email
string
Requiredone of these two
Their current address
customer_name
string
Optional
New name
new_email
string
Optional
New address
contact_preference
string
Optional
email, telegram or discord (at least one of the three fields must be sent)
verify_url
string
Optional
Your confirm-your-address page. When sent with a new address, the customer is emailed a confirmation link to it (?token=…, or in place of {token}); that page calls confirm_customer_email
resend_verification
boolean
Optional
Send the confirmation email again to the current address (needs verify_url; nothing else changes). Use this for a "Resend" button — answers verification_sent true, or false when the address is already confirmed
Response Fields
Field
Type
Description
email_changed
boolean
Whether the address changed — update your session if it did
verification_sent
boolean
true when a confirm-your-address email went out for the new address