Skip to main content
JavaScript
Smile.pointsProducts.get().then(
  (pointsProducts) => {
    // Handle the points products collection
  }
);
This async method retrieves a list of points products. This method always makes an API call to fetch the latest data.
For the best performance, we suggest preloading points products and then using the Smile.pointsProducts.preloaded() method.

Returns

This method returns a Promise that: If the method is improperly invoked, the Promise will be rejected.