> ## 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.

# Load all reward fulfillments

> `Smile.fetchAllRewardFulfillments()`

<Danger>
  This method is deprecated and will be removed on August 1, 2026. Specify `includeSdk: true` when [initializing Smile UI](/ui/initializing), and then use the [`Smile.rewardFulfillments.get()`](/js/resources/reward-fulfillments/get) method from the JavaScript SDK instead.
</Danger>

This method retrieves a list of all the reward fulfillments belonging to the currently logged-in customer.

## Returns

This method returns a `Promise` that:

* On success, resolves with an array of [reward fulfillment](/ui/objects/reward-fulfillment) objects.
* On failure, resolves with an error object.

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

<Panel>
  ```javascript JavaScript lines theme={null}
  Smile.fetchAllRewardFulfillments().then(
    (rewardFulfillments) => {
      // Handle the reward fulfillments
      // collection
    }
  );
  ```
</Panel>
