Loyalty Tiers and Member Prices With Schema.org¶
"Members pay €79.90" is one of the strongest lines a product page can show. Behind it is a data model most shops
build from scratch: a program, its tiers, who's in which tier, and which prices apply to whom. Built ad hoc, it lives
in a loyalty_tier column, an is_member_price flag and a pricing rule only one developer understands.
Schema.org has a vocabulary for all of it, and search engines read it. This post models a program with it, end to end.
The program and its tiers¶
A MemberProgram belongs to the Organization that runs it. Its MemberProgramTiers say what each level gives and what it takes:
{
"name": [{"at_language": "en", "at_value": "Gold"}],
"isTierOf": {"at_id": "https://apis.objectsgrid.com/memberprograms/<club>"},
"hasTierBenefit": ["https://schema.org/TierBenefitLoyaltyPrice", "https://schema.org/TierBenefitLoyaltyShipping"],
"hasTierRequirement": {"at_type": "MonetaryAmount", "value": 500, "currency": "EUR"},
"membershipPointsEarned": 2
}
hasTierBenefituses Schema.org's benefits: member prices, free shipping, free returns, points.hasTierRequirementis what it takes to join: an amount spent, or a text such as "Free sign-up".membershipPointsEarnedis the points per unit of currency spent.
The program lists its tiers in hasTiers, computed from the tiers that point to it, so adding a Platinum tier is
creating one object.
Member prices on offers¶
An Offer keeps its price for everyone, and adds a member price per tier in
priceSpecification, as a UnitPriceSpecification:
{
"name": [{"at_language": "en", "at_value": "Trail Running Shoe"}],
"price": 89.90,
"priceCurrency": "EUR",
"priceSpecification": [
{"price": 79.90, "priceCurrency": "EUR",
"validForMemberTier": [{"at_id": "https://apis.objectsgrid.com/memberprogramtiers/<gold>"}],
"membershipPointsEarned": 2},
{"price": 99.90, "priceCurrency": "EUR", "priceType": "https://schema.org/StrikethroughPrice"}
]
}
The same list holds a strikethrough price before a sale. Your page shows the price that applies to the visitor, and "Gold members: €79.90" to everyone else, as an invitation.
Members and their memberships¶
A ProgramMembership is one member's place in the program:
{
"member": {"at_id": "https://apis.objectsgrid.com/persons/<customer>"},
"program": {"at_id": "https://apis.objectsgrid.com/memberprograms/<club>"},
"memberTier": {"at_id": "https://apis.objectsgrid.com/memberprogramtiers/<gold>"},
"membershipNumber": "G-0042",
"membershipPointsEarned": 1840,
"validFrom": "2027-01-01T00:00:00+01:00",
"validThrough": "2027-12-31T23:59:59+01:00"
}
Moving a member up a tier is a patch of memberTier, and every change is a version, so you can show how a member's
tier and points changed over the year. A Person's memberOf can point to their tiers
too; it shows in their demographics as loyaltyTiers, which stay after a
GDPR erasure, so your reports keep counting members by tier without
knowing who they were.
Who sees what¶
Your access policy decides. A new Organization Account's default policy shows
the program and its tiers to anyone, as part of the public catalog, so a sign-up page can list the benefits.
Memberships are private: a member reads their own, through a rule on a tag or on member, and your staff read the
rest.
Published as structured data¶
The program, its tiers and your offers have JSON-LD documents: an Organization's
document embeds hasMemberProgram, a program's its tiers, and an offer's its member prices pointing to the tier. Put
them in your pages, and search engines read your member prices and benefits the way you modeled them. See
what JSON-LD is and how Google uses it for what structured data does for a product
page.
Loyalty programs grow by tiers, benefits and prices. With each of them an object rather than a column, they grow without a migration.