Skip to main content
Version: 5.7.0

SysCreateProduct

Creates a new product with the specifed values.

ServiceOperation
productManagementSYS_CREATE_PRODUCT

Method Parameters

ParameterDescription
productJsonThe product details.

Usage

http://localhost:3000
// Cloud Code only. To view example, switch to the Cloud Code tab
JSON Response
{
"data": {
"gameId": "23783",
"itemId": "barBundle1Imp12peer",
"type": "Subscription",
"iTunesSubscriptionType": "Free",
"category": "bars",
"title": "Bars (10)",
"description": "Bundle of 10 Bars.",
"imageUrl": "",
"currency": {
"bar": 10
},
"parentCurrency": {},
"peerCurrency": {
"deploypeer": {
"gems": 15
}
},
"defaultPriceId": -1,
"prices": [],
"data": {
"customAttr": "value"
},
"createdAt": 1592594992376,
"updatedAt": 1592594992376,
"version": 1,
"absoluteImageUrl": "https://api.braincloudservers.com/files/portal/g/23783"
},
"status": 200
}