跳至主要内容

通过电子邮件分发兑换码

为了吸引玩家到Game Hub,通过电子邮件分发兑换码。 您可以使用LiveOps构建器自动化电子邮件发送过程。 它允许您指定发送含兑换码邮件的条件。

要通过含兑换码的电子邮件在Game Hub吸引玩家,您应该:

  1. 确保一切准备就绪
  2. 创建免费物品优惠券
  3. 实现item.add webhook
  4. 启动LiveOps活动

确保一切准备就绪

Before you begin, integrate the Checkout.

创建免费物品优惠券

To have the redeem codes for free items, you need the coupons with the Free Item type.

To create the redeem codes, use the POST Create Coupon API call.

实现item.add webhook

To automatically grant the items to the player accounts when the codes are redeemed, implement the Item Add (item.add) webhook.

启动LiveOps活动

LiveOps活动应具备:

  • 为电子邮件分发设置的条件。
  • 在电子邮件文本中设定的兑换码。

Use the API calls:

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