Skip to main content
JavaScript
Smile.customerVipStatus.preloaded();
This method retrieves the preloaded customer VIP status from the cache, without making an API call. Refer to preloading resources to learn how to refresh the value.
For this method to return a value, the customer VIP status must first be preloaded. If you want to retrieve live values from the API, use the Smile.customerVipStatus.get() method instead.

Returns

This method returns a customer VIP status object. If the customer’s VIP status has not been preloaded, null is returned.