Skip to main content
JavaScript
Smile.customerPointsProducts.preloaded();
This method retrieves a list of preloaded customer points products 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, customer points products must first be preloaded . If you want to retrieve live values from the API, use the Smile.customerPointsProducts.get() method instead.

Returns

This method returns an array of customer points product objects. If customer points products have not been preloaded, null is returned.