Webhook events
program_events/customer.reward_available_notification
This webhook is triggered when the customer has a new reward available. The
available_rewards
array contains rewards that are actionable, in stock, enabled
and affordable by the customer.
To subscribe to this webhook, your access token needs to contain the read_customers
scope.
This webhook has a 7 day cool-down period per individual customer
As many customers redeem their points immediately after earning them, this webhook is only sent after a 5 minute delay. If after 5 minutes the customer has redeemed their points and no longer has any rewards available, the webhook will not be sent
Payload
Customer object with the same shape as the Customers API response
Array of Reward objects with the same shape as the List Available Rewards API response
Example
Example