> ## Documentation Index
> Fetch the complete documentation index at: https://dev.smile.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Get customer points products

> `Smile.customerPointsProducts.get()`

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.

> [!TIP]
>
> For the best performance, we suggest [preloading](https://dev.smile.io/js/concepts/preloading.md) customer points products and then using the [`Smile.customerPointsProducts.preloaded()`](https://dev.smile.io/js/resources/customer-points-products/preloaded) method.

## Returns

This method returns a `Promise` that:

* On success, resolves with an array of [customer points product objects](https://dev.smile.io/js/resources/customer-points-products/object.md). If no points products are defined, the array will be empty.
* On failure, rejects with an [error object](https://dev.smile.io/js/concepts/error-handling.md).

If the method is improperly invoked (e.g. no customer currently logged in), the `Promise` will be rejected.

```javascript JavaScript lines theme={null}
Smile.customerPointsProducts.get().then(
  (customerPointsProducts) => {
    // Handle the customer points product
    // collection
  }
);
```
