Xsolla-logo

Create Product

post/projects/{project_id}/subscriptions/products

Creates a subscription-based product.

SecuritybasicAuth
Request
path Parameters
project_id
required
integer

Project ID.

Request Body schema: application/json
name
required
string

Product name.

group_id
required
string

Group ID the product is linked to.

object

Localized item descriptions.

en
string

English.

ru
string

Russian.

cs
string

Czech.

ar
string

Arabic.

bg
string

Bulgarian.

cn
string

Chinese (Simplified).

tw
string

Chinese (Traditional).

fr
string

French.

de
string

German.

he
string

Hebrew.

it
string

Italian.

ko
string

Korean.

pl
string

Polish.

pt
string

Portuguese.

ro
string

Romanian.

es
string

Spanish.

th
string

Thai.

tr
string

Turkish.

vi
string

Vietnamese.

ja
string

Japanese.

Responses
201

Created.

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