Documentation Index
Fetch the complete documentation index at: https://dev.smile.io/llms.txt
Use this file to discover all available pages before exploring further.
This method is deprecated and will be removed on August 1, 2026. Refer to the migration guide for instructions on choosing the appropriate replacement.
Returns
This method returns aPromise that resolves once customer identification has occurred (even if there is no logged-in customer) and does not wait for other dependencies. If customer identification has already occurred, the Promise will resolve immediately.
The Promise will resolve with:
- On success, a customer object when there is a currently logged-in customer, or
nullif no customer is currently logged-in. - On failure, an error object.