#ironbeard - Coupon Webhook

1 messages ยท Page 1 of 1 (latest)

shrewd apex
#

Hi ๐Ÿ‘‹

#

You can only subscribe to all events of that type. You would need to filter to subscriptions with applied coupons yourself.

scenic delta
#

Do I need to create the event to get an idea of the response? I'm looking at some of my events and they just have a null/none value for discount, I guess I'd like to know what the object would look like if a discount was applied (if it's just the coupon id, or has info on if a promotion code was used instead of the coupon directly, etc)

shrewd apex
#

I would create some test subscriptions with applied test coupons to see how it works.

scenic delta
#

although it seems the Discount object only has info on the Coupon, not the PromotionCode

Nevermind, I see the promo code now

shrewd apex
#

Subscription objects are pretty large. There's a lot of data in there and it's easy to miss things.

scenic delta
#

Thanks for your help ๐Ÿ™‚