Xsolla-logo
  • 文档
  • 创建帐户

获取虚拟物品Server-sideAdmin

get/v2/project/{project_id}/admin/items/virtual_items/sku/{item_sku}

获取项目中的虚拟物品以进行管理。

注意

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

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

Example: 44056
item_sku
required
string

商品SKU。

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

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

Example: promo_code=WINTER2021
Responses
200

已成功收到指定的虚拟物品。

401

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

Request samples
Response samples
application/json
{
  • "attributes": [
    ],
  • "custom_attributes": {
    },
  • "description": {
    },
  • "groups": [
    ],
  • "inventory_options": {
    },
  • "is_enabled": true,
  • "is_free": false,
  • "is_show_in_store": true,
  • "limits": {
    },
  • "long_description": {
    },
  • "media_list": [ ],
  • "name": {
    },
  • "order": 1,
  • "periods": [
    ],
  • "prices": [
    ],
  • "regions": [ ],
  • "sku": "swords_1",
  • "type": "virtual_good",
  • "vc_prices": [ ]
}