Skip to main content
Version: 5.7.0

UpdateCustomInfo

This operation updates the specified redemption code.

Results

NameDescription
responseNewly updated redemption code object
ServiceOperation
redemptionCodeUPDATE_CUSTOM_INFO

Method Parameters

ParameterDescription
scanCodeThe scan code.
codeTypeThe code type.
versionCurrent version of the redemption code (for concurrency checking.)
customCodeInfoOptional custom information.

Usage

http://localhost:3000
// S2S call: to view example, switch to the Cloud Code or Raw tab.
JSON Response
{
"packetId": 1,
"messageResponses": [
{
"status": 200,
"data": {
"response": {
"gameId": "1234556",
"scanCode": "102938475647382910",
"codeType": "typeOfCode",
"version": 2,
"codeState": "Available",
"customCodeInfo": {
"param1": 2235
},
"customRedemptionInfo": {},
"redeemedByProfileId": null,
"redeemedByProfileName": null,
"invalidationReason": null,
"createdAt": 0,
"activatedAt": null,
"redeemedAt": null,
"invalidatedAt": null
}
}
}
]
}