Skip to main content

Postscript Customer Properties & Events

Written by Kris - Mage Loyalty
Updated over 3 weeks ago

Events

Points Awarded

Fired when a customer earns points through purchases, actions, or other earning rules.

Subscriber: Matched by Shopify Customer ID (fallback: email)

Property

Type

Description

Points Awarded

number

Number of points earned

Earning Rule

string

Name of the earning rule (or "Manual")

Status

string

Status of the earning (e.g. approved)

Order Number

string (optional)

Shopify order number, if points were earned from a purchase


Reward Redeemed

Fired when a customer redeems their points for a reward or discount.

Subscriber: Matched by Shopify Customer ID (fallback: email)

Property

Type

Description

Reward Name

string

Name of the reward redeemed

Points Spent

number

Number of points spent (0 if null)

Discount Type

string

Type of discount (e.g. percentage, fixed)


VIP Tier Changed

Fired when a customer moves up or down VIP tiers based on their lifetime points.

Subscriber: Matched by Shopify Customer ID (fallback: email)

Property

Type

Description

New Tier Name

string

Name of the tier the customer moved to

Previous Tier Name

string (optional)

Name of the previous tier, if applicable


Points Expiry Soon

Fired when a customer has loyalty points expiring within the next 7 days. This event is triggered once per customer per 7-day window β€” multiple earning rules expiring on different days are aggregated into a single event to prevent duplicate notifications.

This event is OFF by default. Merchants must enable it in Settings > Integrations > Postscript before it will fire.

Subscriber: Matched by Shopify Customer ID (fallback: email)

Property

Type

Description

Points Expiring

number

Total points expiring within the next 7 days (aggregated across all earning rules)

Current Points

number

Customer's current point balance at the time the event fires

Days Until Expiry

number

Days until the earliest expiring points (e.g. 3 means points expire in 3 days)

Customer Name

string

Customer's first name (or "there" if not set)

Suggested automation setup

  1. In Postscript, go to Automations > Create Automation

  2. Set the trigger to the Points_Expiry_Soon event

  3. Add a Send SMS action with your expiry reminder message

  4. Use the event properties above to personalize the message

Example SMS

Hey {{ Customer Name }}, you have {{ Points Expiring }} points expiring in {{ Days Until Expiry }} days! Shop now to use them before they're gone.


Subscriber Properties

In addition to events, Mage syncs the following properties to each Postscript subscriber. These can be used in segments and SMS personalization.

Property

Example Value

Description

Mage Loyalty Points Balance

100

Customer's current spendable points

Mage Loyalty Lifetime Points

500

Total points ever earned

Mage Loyalty Redeemed Points

400

Total points spent on rewards

Mage Loyalty VIP Tier Name

Gold

Current VIP tier (e.g. Bronze, Silver, Gold)

Mage Loyalty Date of Birth

September 17, 1990

Customer's date of birth, if provided

Mage Loyalty Enrolled Date

January 1, 2025

When the customer joined the loyalty program

Did this answer your question?