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.

Responses
201

Created.

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