Retrieves a loyalty tier.
To retrieve a list of all of a site's tiers, use listTiers()
.
function getTier(tierId: string): Promise<Tier>;
ID of the tier to retrieve.
import { tiers } from "@wix/loyalty";
async function getTier(tierId) {
const response = await tiers.getTier(tierId);
}
This method doesn’t return any custom errors, but may return standard errors. Learn more about standard Wix errors.