Xsolla-logo
  • 文档
  • 创建帐户

创建产品

post/projects/{project_id}/subscriptions/products

创建产品。

SecuritybasicAuth
Request
path Parameters
project_id
required
integer

项目ID。

Request Body schema: application/json
name
required
string

产品名称。

group_id
required
string

产品关联的组ID。

object

本地化商品描述。

ar
string

阿拉伯语。

bg
string

保加利亚语。

cn
string

中文(简体)。

cs
string

捷克语。

de
string

德语。

en
string

英语。

es
string

西班牙语。

fr
string

法语。

he
string

希伯来语。

it
string

意大利语。

ja
string

日语。

ko
string

韩语。

pl
string

波兰语。

pt
string

葡萄牙语。

ro
string

罗马尼亚语。

ru
string

俄语。

th
string

泰语。

tr
string

土耳其语。

tw
string

中文(繁体)。

vi
string

越南语。

Responses
201

Created.

Request samples
application/json
{
  • "description": {
    },
  • "group_id": "charge",
  • "name": "Channel2"
}
Response samples
application/json
{
  • "product_id": 172003
}