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

Returns

This method returns a Promise that:
  • On success, resolves with an array of VIP tier objects. If no VIP tiers are defined, the array will be empty.
  • On failure, rejects with an error object.
If the method is improperly invoked, the Promise will be rejected.