Skip to main content
JavaScript
Smile.vipTiers.getById(426715799).then(
  (vipTier) => {
    // Handle the VIP tier object
  }
);
This async method retrieves a single VIP tier by ID. This method always makes an API call to fetch the latest data.

Parameters

id
integer
required
The unique identifier for the VIP tier to be retrieved.

Returns

This method returns a Promise that: If the method is improperly invoked (e.g. missing required parameters), the Promise will be rejected.