Skip to main content
JavaScript
Smile.customerPointsProducts.get().then(
  (customerPointsProducts) => {
    // Handle the customer points product
    // collection
  }
);
This async method retrieves a list of available redemption options for the currently logged-in customer. This method always makes an API call to fetch the latest data.
For the best performance, we suggest preloading customer points products and then using the Smile.customerPointsProducts.preloaded() method.

Returns

This method returns a Promise that: If the method is improperly invoked (e.g. no customer currently logged in), the Promise will be rejected.