The customer's display name.
The customer's phone number.
The customer's email address.
The customer's preferred language code (e.g. "en-US", "fr-CA").
Sourced from the top-level customerLanguageCode field on the interaction. The SDK
does not validate the value — the server is the authority for accepted formats
(typically BCP-47). undefined when the server has no language code stored.
Updates the customer's display name.
Fires INTERACTION_CUSTOMER_INFO_UPDATED on success. Check canEdit before calling.
The display name to associate with the customer
Promise that resolves when the server confirms the update.
Updates the customer's phone number.
Fires INTERACTION_CUSTOMER_INFO_UPDATED on success. Check canEdit before calling.
The phone number to associate with the customer
Promise that resolves when the server confirms the update.
Updates the customer's email address.
Fires INTERACTION_CUSTOMER_INFO_UPDATED on success. Check canEdit before calling.
The email address to associate with the customer
Promise that resolves when the server confirms the update.
Updates the customer's preferred language code.
Fires INTERACTION_CUSTOMER_INFO_UPDATED on success. Check canEdit before calling.
The language code to associate with the customer (e.g. "en-US", "fr-CA")
Promise that resolves when the server confirms the update.
Represents the customer involved in an interaction. Returned by InteractionTrait.customer.
Example
See