Xsolla-logo
  • 文档
  • 创建帐户

获取捆绑包Server-sideAdmin

get/v2/project/{project_id}/admin/items/bundle/sku/{sku}

获取项目中的捆绑包以进行管理。

注意

不要使用此端点来构建商店目录。
SecuritybasicAuth
Request
path Parameters
project_id
required
integer

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

Example: 44056
sku
required
string

捆绑包SKU。

Example: kg_1
query Parameters
promo_code
string [ 1 .. 128 ] characters

区分大小写的唯一券码。包含字母和数字。

Example: promo_code=WINTER2021
Responses
200

指定的捆绑包已成功接收。

401

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

Request samples
Response samples
application/json
{
  • "attributes": [ ],
  • "bundle_type": "standard",
  • "content": [],
  • "custom_attributes": {
    },
  • "description": {
    },
  • "groups": [
    ],
  • "is_enabled": true,
  • "is_free": false,
  • "is_show_in_store": true,
  • "item_id": 610316,
  • "limits": {
    },
  • "long_description": {
    },
  • "media_list": [ ],
  • "name": {
    },
  • "order": 1,
  • "periods": [
    ],
  • "prices": [ ],
  • "regions": [ ],
  • "sku": "com.xsolla.EmpireBundle_1",
  • "type": "bundle",
  • "virtual_prices": []
}