跳至主要内容

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

ResourceChange
coupon.redeemedAdded items (list); deprecated the single item field

Upgrade

  • Read the items array instead of item.
  • Plan to stop depending on item — it may be removed in a future version.

需要技术支持?
联系我们的集成技术团队: [email protected]