Skip to main content
This webhook is triggered on a rolling interval, starting 1 month after you first register for it. It will fire for customers on the program who have not received a reward_available_notification within the same month. The available_rewards array contains rewards that are actionable, in stock, enabled, and affordable by the customer. The points_approved_in_interval property contains the number of points the customer has earned within that month, and the points_interval_start_date describes when that month started. To subscribe to this webhook, your access token needs to contain the read_customers scope.

Payload

customer
object
required
Customer object with the same shape as the Customers API response
available_rewards
object[]
required
Array of Reward objects with the same shape as the List Available Rewards API response
points_approved_in_interval
number
required
The number of points the customer has earned within that month
points_interval_start_date
string
required
ISO 8601 timestamp indicating when the current interval started

Example

Example