Skip to main content
JavaScript
Smile.customer.logout();

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 logs out the currently logged-in customer and clears all customer-specific resources from the cache (e.g. reward fulfillments, customer points products, etc). Preloaded program configuration data remains available in the cache after logout.

Returns

Void. This method does not return a value.