Tiers

Create, retrieve, update, delete, and list membership tiers in the VINR loyalty programme.

View as Markdown

A tier represents a membership level in the loyalty programme (e.g. Bronze, Silver, Gold). Customers are automatically promoted or demoted based on their points balance relative to each tier's min_points threshold.

Illustrative content. Hand-authored to demonstrate the Standard/Advanced pattern; the production page will be generated from the VINR OpenAPI spec (roadmap item #1). Field names are representative.

The tier objectAsk

idstring

Unique identifier for the tier, e.g. tier_gold.

namestring

Human-readable tier name displayed to customers, e.g. Gold.

min_pointsinteger

Minimum points balance required to qualify for this tier.

benefitsarray

List of benefit descriptions shown to customers, e.g. ["Free shipping", "Early access"].

createdinteger

Unix timestamp of when the tier was created.

Create a tierAsk

Define a new membership tier. Tiers are evaluated in ascending min_points order; a customer qualifies for the highest tier whose min_points does not exceed their current balance.

Retrieve a tierAsk

Fetch a tier by its ID.

Update a tierAsk

Update the tier's name or points threshold. Changes take effect immediately; affected customers' tier assignments are re-evaluated on the next balance change.

Delete a tierAsk

Permanently deletes a tier. Loyalty accounts currently assigned to this tier fall back to the next qualifying tier automatically.

List tiersAsk

Returns a paginated list of all tiers, ordered by min_points ascending.

ParameterTypeDescription
limitintegerNumber of results to return. Default 10, max 100.

tier.created and tier.updated. See Events.

Was this page helpful?