Skip to main content
Version: 5.7.0

SysRetireCatalogItem

Retire the specified catalog item on the server.

ServiceOperation
itemCatalogSYS_RETIRE_CATALOG_ITEM

Method Parameters

ParameterDescription
defIdUnique ID identifying catalog item.
versionVersion of catalog item being edited.

Usage

http://localhost:3000
// Cloud Code only. To view example, switch to the Cloud Code tab
JSON Response
{
"data": {
"defId": "sword001",
"name": "Cherry Sword",
"desc": "A crimson sword whose blade was forged in Cherry Kool-aid!",
"type": "ITEM",
"category": "sword",
"tags": [
"weapon",
"pointy",
"crimson",
"cherry"
],
"buyPrice": {
"coins": 250
},
"sellPrice": {
"coins": 180
},
"image": "//cherrySword.jpg",
"resourceGroup": "equipment.asset",
"resourceTag": "sword001",
"meta": {
"speed": 80,
"damage": 10,
"accuracy": 85,
"range": 7
},
"initData": {
"condition": 100,
"bonus": 0
},
"pState": "RETIRED",
"publishedAt": 1567192243524,
"createdAt": 1567192113061,
"updatedAt": 1567192275046,
"version": 5,
"stackable": false,
"consumable": false,
"uses": null,
"coolDownSecs": 0,
"recoverySecs": 0,
"activatable": false,
"statusName": null,
"activeSecs": null,
"tradable": false,
"blockchain": false,
"blockchainDefId": null
},
"status": 200
}