Skip to main content
JavaScript
Smile.customerVipStatus.get().then(
  (customerVipStatus) => {
    // Handle the customer VIP
    // status object
  }
);
This async method retrieves the VIP status of the currently logged-in customer. This method always makes an API call to fetch the latest data.
For the best performance, we suggest preloading the customer’s VIP status and then using the Smile.customerVipStatus.preloaded() method.

Returns

This method returns a Promise that: If the method is improperly invoked, the Promise will be rejected.