Tier Earned

Sent when a customer meets the requirements for a new tier. Use it to congratulate them on their new status.

To receive it, add swell/tier/earned to events when you create a filter, then create a store subscription for each store that installed your app. Yotpo sends the event to your target URL as a POST with this JSON body.

Payload
string

The event name, swell/tier/earned.

string

The display name of the event.

string

Your store's website URL.

string

Your store's name.

string

The email address of the customer who earned the new tier.

customer
object

The customer object who earned the new tier.

new_tier
object

Object describing the new tier they just earned.

string

How the tier changed, for example upgrade.

old_tier
object

Object describing the tier they came from. Attribute won’t be present if they had no previous tier.

redemption
object

The redemption.

redemption_option
object

The reward (redemption option).

date-time

When Yotpo sent the event.

Headers
string
required

The event name. Matches topic in the body.

string
required

The kind of account the event belongs to: store for store events.

string
required

The store ID (app_key) the event belongs to.

string
required

A unique ID for the event.

string
required

A unique ID for this delivery to this target. Use it to ignore duplicates.

Response
200

Return any 2xx status quickly to acknowledge the event. Without one, Yotpo retries at least 10 times with exponential backoff.

LoadingLoading…