webhook
swell/redemption_code/below_threshold
Sent when a Custom Coupon reward is running low on uploaded codes: when the unused codes reach the reward's threshold, then half, a quarter and an eighth of it, and 0.
To receive it, add swell/redemption_code/below_threshold 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.
Set the threshold on the Custom Coupon in your Yotpo Loyalty admin.
200Return any 2xx status quickly to acknowledge the event. Without one, Yotpo retries at least 10 times with exponential backoff.
