Xsolla-logo
  • 文档
  • 创建帐户

获取奖励促销活动列表Server-sideAdmin

get/v2/project/{project_id}/admin/promotion/bonus

获取项目的奖励促销活动列表。

促销活动对进行购买的用户给予免费的奖励商品。 促销活动可以应用于项目中的任何购买或包含特定商品的购买。

SecuritybasicAuth
Request
path Parameters
project_id
required
integer

项目编号。您可以在您的发布商帐户项目名称旁边。

Example: 44056
query Parameters
limit
integer

Limit for the number of elements on the page.

Example: limit=50
offset
integer

元素编号,从该元素开始生成列表(从0开始数)。

Example: offset=0
Responses
200

已成功收到奖励促销活动列表。

401

基本认证未通过或错误。确保您使用了基本认证或正确的凭据。

Request samples
Response samples
application/json
{
  • "promotions": [
    ]
}