PUT api/v1/offers/account
Update an existing account offer.
i. Request Example
When isAuto is false, Request Example
{
"offerId": 71394136,
"gameId": 3637,
"serverId": 4144,
"categoryId": 4144,
"price": 99.99,
"freeInsurance": 30,
"offerDuration": 30,
"title": "Simple Title Update",
"offerDesc": "<p>Simple Description Update.</p>",
"screenShot": "https://cdn-image.azureedge.net/title-image/liutest6/202606090157435743.png",
"agreeCheck": true,
"isAuto": false,
"manual": {
"loginName": "loginName",
"retypeLoginName": "loginName",
"choose1": true,
"choose2": true,
"choose3": true,
"choose4": true,
"choose5": true,
"deliveryGuarantee": 1
}
}
When isAuto is true, Request Example
{
"offerId": 71394136,
"gameId": 3637,
"serverId": 4144,
"categoryId": 4144,
"price": 99.99,
"freeInsurance": 30,
"offerDuration": 30,
"title": "Simple Title Update",
"offerDesc": "<p>Simple Description Update.</p>",
"screenShot": "https://cdn-image.azureedge.net/title-image/liutest6/202606090157435743.png",
"agreeCheck": true,
"isAuto": true,
"autoDelivery": {
"loginName": "loginName",
"retypeLoginName": "",
"password": "123password",
"retypePassword": "123password",
"characterName": "CharacterName",
"isInfoSame": true,
"original": {
"firstName": "John",
"lastName": "Doe",
"phone": "0123456789",
"email": "test@example.com",
"city": "Shanghai",
"country": "China"
},
"current": {
"phone": "0123456789",
"email": "test@example.com",
"city": "Shanghai",
"country": "China"
},
"choose5": true,
"instruction": "Extra instruction.",
"securityQuestion": "SecurityQuestion",
"securityAnswer": "Answer",
"retypeSecurityAnswer": "",
"parentalPassword": "password123"
}
}
ii. Request Parameters
Body Parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
| offerId | int | Yes | Offer ID to update. |
| gameId | int | Yes | Game ID. |
| categoryId | int | Yes | Category ID. |
| serverId | int | Yes | Server ID. |
| price | decimal | Yes | Offer price. |
| freeInsurance | int | Yes | Free insurance period in days. |
| offerDuration | int | Yes | Offer duration in days. |
| title | string | Yes | Offer title. |
| offerDesc | string | No | Offer description. |
| screenShot | string | No | Screenshot URL. |
| agreeCheck | boolean | Yes | Agreement check status. |
| isAuto | boolean | Yes | Whether auto delivery is enabled. |
| manual | object | No | Manual login information (required if isAuto is false). |
| manual.loginName | string | Yes (when isAuto is false) | Login name for manual delivery. |
| manual.retypeLoginName | string | Yes (when isAuto is false) | Retyped login name for confirmation. |
| manual.choose1 | boolean | No | Whether the account has never been banned. |
| manual.choose2 | boolean | No | Whether the account has no negative feedback. |
| manual.choose3 | boolean | No | Whether the account has no recovery history. |
| manual.choose4 | boolean | No | Whether the account has no suspicious transactions. |
| manual.choose5 | boolean | No | Whether the account has no payment disputes. |
| manual.deliveryGuarantee | int | Yes (when isAuto is false) | Delivery guarantee time in minutes. |
| autoDelivery | object | No | Auto delivery login information (required if isAuto is true). |
| autoDelivery.loginName | string | Yes (when isAuto is true) | Login name for auto delivery. |
| autoDelivery.retypeLoginName | string | Yes (when isAuto is true) | Retyped login name for confirmation. |
| autoDelivery.password | string | Yes (when isAuto is true) | Account password. |
| autoDelivery.retypePassword | string | Yes (when isAuto is true) | Retyped password for confirmation. |
| autoDelivery.characterName | string | No | Character name in the game. |
| autoDelivery.isInfoSame | boolean | Yes (when isAuto is true) | Whether original and current info are the same. |
| autoDelivery.original.firstName | string | Yes (when isAuto is true) | Original account holder's first name. |
| autoDelivery.original.lastName | string | Yes (when isAuto is true) | Original account holder's last name. |
| autoDelivery.original.phone | string | Yes (when isAuto is true) | Original phone number. |
| autoDelivery.original.email | string | Yes (when isAuto is true) | Original email address. |
| autoDelivery.original.city | string | Yes (when isAuto is true) | Original city. |
| autoDelivery.original.country | string | Yes (when isAuto is true) | Original country. |
| autoDelivery.current.phone | string | Yes (when isAuto is true) | Current phone number. |
| autoDelivery.current.email | string | Yes (when isAuto is true) | Current email address. |
| autoDelivery.current.city | string | Yes (when isAuto is true) | Current city. |
| autoDelivery.current.country | string | Yes (when isAuto is true) | Current country. |
| autoDelivery.choose5 | boolean | No | Indicates whether all answers are Yes to the questions. |
| autoDelivery.instruction | string | No | Extra delivery instructions. |
| autoDelivery.securityQuestion | string | No | Security question for account recovery. |
| autoDelivery.securityAnswer | string | No | Answer to security question. |
| autoDelivery.retypeSecurityAnswer | string | No | Retyped security answer for confirmation. |
| autoDelivery.parentalPassword | string | No | Parental control password. |
iii. Response Example
Success Response (JSON)
{
"code": 10000,
"message": "",
"requestId": "550e8400-e29b-41d4-a716-446655440000",
"data":{
"offerId": 71394137,
"navigateURL": "https://www.playerauctions.com/lol-account/71394137a!simple-title-update/",
"title": "Simple Title Update",
"productType": "account",
"gameName": "League of Legends",
"productName": "Accounts",
"screenShot": "",
"recentLable": "LOL Accounts",
"recentURL": "/offerCreation/?gameid=3637&type=account",
"imageBlacklist": ""
}
}
Response Parameters
| Parameter | Type | Description |
|---|---|---|
| code | int | Response code. 10000 indicates success, other values indicate an error. |
| message | string | Response message. Contains error details on failure. |
| requestId | string | Unique identifier for the request, used for tracking. |
| data.offerId | int | Created offer ID. |
| data.navigateURL | string | URL to navigate to the offer page. |
| data.title | string | Offer title. |
| data.productType | string | Product type. |
| data.gameName | string | Game name. |
| data.productName | string | Product name. |
| data.screenShot | string | Screenshot URL. |
| data.recentLable | string | Recent label for the offer. |
| data.recentURL | string | URL to navigate to the offer page. |
| data.imageBlacklist | string | Image blacklist for the offer. |
iv. Error Response Example
Error Response
{
"code": 10002,
"message": "Invalid parameter.",
"requestId": "550e8400-e29b-41d4-a716-446655440000"
}Common Error Codes
| Parameter | Type | Description |
|---|---|---|
| code | int | Error code. Common values: 10002 (Invalid parameter), 50001 (Internal server error). |
| message | string | Detailed error message explaining what went wrong. |
| requestId | string | Unique identifier for the request, used for tracking. |