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]