#yogeshwari
1 messages · Page 1 of 1 (latest)
If the coupon is deleted, the associated promotion code will be inactive and can't be used
Okay thanks
We have one task to generate affiliate link
1)Creating one coupon
2)Add multiple products to this coupon
3)Add multiple promotion codes to this coupon
So we need to generate affiliate links like total number of products multiply by total number of promotion codes, So how can we manage these things in database through Stripe event webhook?
- When the coupon is created,
coupon.createdevent will be sent - For any update into the coupon,
coupon.updatedevent will be sent - For any promotion code code created and added to coupon,
promotion_code.createdevent will be sent
Okay thanks