Create a new product for a User within a Project
POST/v1/organizations/:organizationId/projects/:projectId/platforms/android/products
Create a new product for a User within a Project
Request
Path Parameters
ID of the organization
ID of the project
- application/json
Body
required
- Array [
- ]
Possible values: <= 50 characters
, Value must match regular expression /^[a-z0-9][a-zA-Z0-9_\.]*$/
The SKU of the product
Possible values: <= 50 characters
The name of the product
Possible values: <= 100 characters
A detailed description of the product
prices object[]
The list of countries with defined prices in product
The country code
The price
Responses
- 201
- 400
Product has been successfully created.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
The unique identifier of the product.
The SKU of the product
The name of the product.
A brief description of the product.
The date and time when the product was created.
The date and time when the product was last updated.
The identifier of the organization associated with the product.
prices object[]
The list of countries with defined prices in product
The country code
The price
{
"id": "string",
"sku": "prod-1234",
"name": "string",
"description": "string",
"createdAt": "2024-07-31T20:57:59.005Z",
"updatedAt": "2024-07-31T20:57:59.005Z",
"organizationId": "string",
"prices": [
{
"country": "US",
"price": 10
},
{
"country": "GB",
"price": 15
}
]
}
Bad Request