> ## 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.

# Logout the customer

> `Smile.customer.logout()`

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.

<Panel>
  ```javascript JavaScript lines theme={null}
  Smile.customer.logout();
  ```
</Panel>
