Multiple items on coupon.redeemed
What's new
The coupon.redeemed event now returns an items array, so a single coupon can grant multiple free items. The former single item field is deprecated; it remains for backward compatibility and mirrors items[0].
Impact
Coupons that grant more than one item are now fully represented. Reading only item will miss every granted item after the first.
Changes
| Resource | Change |
|---|---|
| coupon.redeemed | Added items (list); deprecated the single item field |
Upgrade
- Read the
itemsarray instead ofitem. - Plan to stop depending on
item— it may be removed in a future version.
도움이 필요하세요?
통합팀에 문의하십시오 [email protected]