This method is deprecated. Specify
includeSdk: true when initializing Smile UI, then use the appropriate method from the JavaScript SDK:Smile.customer.current()for basic customer info (like name, referral URL, and email address)Smile.customerPointsWallet.get()for up-to-date points balanceSmile.customerVipStatus.get()for up-to-date VIP tier information
Parameters
Returns
This method returns aPromise that:
- On success, resolves with a customer object.
- On failure, resolves with an error object.
Promise will be rejected.