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

# Get customer VIP status

> `Smile.customerVipStatus.get()`

This async method retrieves the VIP status of the currently logged-in customer. This method always makes an API call to fetch the latest data.

> [!TIP]
>
> For the best performance, we suggest [preloading](https://dev.smile.io/js/concepts/preloading.md) the customer's VIP status and then using the [`Smile.customerVipStatus.preloaded()`](https://dev.smile.io/js/resources/customer-vip-status/preloaded) method.

## Returns

This method returns a `Promise` that:

* On success, resolves with a [customer VIP status object](https://dev.smile.io/js/resources/customer-vip-status/object.md).
* On failure, rejects with an [error object](https://dev.smile.io/js/concepts/error-handling.md).

If the method is improperly invoked, the `Promise` will be rejected.

```javascript JavaScript lines theme={null}
Smile.customerVipStatus.get().then(
  (customerVipStatus) => {
    // Handle the customer VIP
    // status object
  }
);
```
