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

Returns

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