GEThttps://seller-api.playerauctions.com/api/v1/offers/account/{id}
通过报价单ID查询单个账号商品。
i. 请求参数
路径参数
| 参数 | 类型 | 必填 | 描述 |
|---|---|---|---|
| id | int | 是 | 报价单ID。 |
ii. 响应示例
当 isAuto 为 false 时的成功响应
{
"code": 10000,
"message": "",
"requestId": "550e8400-e29b-41d4-a716-446655440000",
"data": {
"categoryId": 4144,
"serverId": 4144,
"selleraftersaleprotection": 30,
"instruction": "",
"isAuto": false,
"blobName": "202606090157435743.png",
"screenShot": "https://cdn-image.azureedge.net/title-image/liutest6/202606090157435743.png",
"manual": {
"loginName": "loginName",
"loginMode": "normal",
"choose1": true,
"choose2": true,
"choose3": true,
"choose4": true,
"choose5": true,
"deliveryGuarantee": 1,
},
"gameId": 3637,
"price": 99.99,
"offerDuration": 30,
"title": "Simple Title Update",
"offerDesc": "<p>Simple Description Update</p>",
"offerId": 71394137,
"memberId": 678694,
"state": 1,
"productType": "account"
}
}当 isAuto 为 true 时的成功响应
{
"code": 10000,
"message": "",
"requestId": "550e8400-e29b-41d4-a716-446655440000",
"data": {
"categoryId": 4144,
"serverId": 4144,
"selleraftersaleprotection": 30,
"instruction": "Extra instruction.",
"isAuto": true,
"blobName": "",
"screenShot": "https://cdn-image.azureedge.net/title-image/liutest6/202606090157435743.png",
"autoDelivery": {
"loginName": "loginName",
"loginMode": "normal",
"battleNetLoginName": "",
"password": "loginName123",
"characterName": "CharacterName",
"securityQuestion": "SecurityQuestion",
"securityAnswer": "Answer",
"parentalPassword": "",
"isInfoSame": true,
"choose1": true,
"choose5": true,
"original": {
"firstName": "John",
"lastName": "Doe",
"phone": "0123456789",
"email": "test@example.com",
"address": "",
"zipcode": "",
"city": "Shanghai",
"state": "",
"country": "China",
"birthday": "1900-01-01T00:00:00Z",
"question": "",
"answer": ""
},
"current": {
"firstName": "",
"lastName": "",
"phone": "0123456789",
"email": "test@example.com",
"address": "",
"zipcode": "",
"city": "Shanghai",
"state": "",
"country": "China"
},
"instruction": "Extra instruction."
},
"gameId": 3637,
"price": 99.99,
"offerDuration": 30,
"title": "Simple Title",
"offerDesc": "<p>Simple Description</p>",
"offerId": 71394136,
"memberId": 678694,
"state": 1,
"productType": "account"
}
}
响应参数
| 参数 | 类型 | 描述 |
|---|---|---|
| code | int | 响应状态码。 10000表示成功,其他值表示发生错误。 |
| message | string | 响应消息。 该字段包含具体的错误详情。 |
| requestId | string | 请求标识号,用以追溯。 |
| data | object | 账号商品详情。 |
| categoryId | int | 二级服务器ID。 |
| serverId | int | 一级服务器ID。 |
| selleraftersaleprotection | int | 卖家提供售后保障天数。 |
| instruction | string | 发货信息补充。 |
| isAuto | boolean | 标示商品是否为自动发货。为 true 时表示自动发货; 为 false 时表示手动发货。 |
| blobName | string | 商品截图的后台文件名。 |
| screenShot | string | 商品截图链接。 |
| gameId | int | 游戏ID. |
| price | decimal | 单价。 |
| offerDuration | int | 商品有效期天数。 |
| title | string | 商品标题。 |
| offerDesc | string | 商品描述。 |
| offerId | int | 商品报价单ID。 |
| memberId | int | 该报价单的卖家/会员 ID。 |
| state | int | 该报价单的状态。 |
| productType | string | 商品类型。 |
| manual | object | 手动发货配置 (仅当 isAuto 为 false 时显示). 含账号登录名,登录方式,战网登录名,发货期限等。 |
| manual.loginName | string | 手动发货账号登录名。 |
| manual.loginMode | string | 登录方式。如“normal” (一般用户名登录)。 |
| manual.battleNetLoginName | string | 战网登录名 (如有)。 |
| manual.choose1 | boolean | 您知晓家长控制码或未设家长控制码。 |
| manual.choose2 | boolean | 您知晓游戏账号注册时所用的电话号码。 |
| manual.choose3 | boolean | 您可提供游戏账号的注册邮箱。 |
| manual.choose4 | boolean | 您知晓游戏账号注册时所用的用户全名。 |
| manual.choose5 | boolean | 您知晓游戏账号的安全问题及其答案,或未设安全问题。 |
| manual.deliveryGuarantee | int | 发货期限。通过customId设置赋值。选项列表可通过 api/v1/games/{id}/{type}/deliveryTimes 接口获取。 |
| autoDelivery | object | 自动发货配置 (仅当 isAuto 为 true 时显示). 含账号登录信息,账号保全问题,注册时及现持有人等详情。 |
| autoDelivery.loginName | string | 自动发货账号登录名 |
| autoDelivery.loginMode | string | 登录方式。如“normal”(一般用户名登录)。 |
| autoDelivery.battleNetLoginName | string | 战网登录名 (如有)。 |
| autoDelivery.password | string | 游戏账号密码 |
| autoDelivery.characterName | string | 游戏内角色名称。 |
| autoDelivery.securityQuestion | string | 账号安保问题。 |
| autoDelivery.securityAnswer | string | 安保问题答案。 |
| autoDelivery.parentalPassword | string | 家长控制码。 |
| autoDelivery.isInfoSame | boolean | 游戏账号注册时所用信息与当前账号持有人信息一致。 |
| autoDelivery.choose1 | boolean | 卖家提供售后保障。 |
| autoDelivery.choose5 | boolean | 您知晓安保问题及其答案,或未设安保问题。 |
| autoDelivery.original | object | 游戏账号注册时所用信息。 |
| autoDelivery.original.firstName | string | 注册时填写的名。 |
| autoDelivery.original.lastName | string | 注册时填写的姓。 |
| autoDelivery.original.phone | string | 注册时填写的手机号码。 |
| autoDelivery.original.email | string | 注册时填写的电子邮箱。 |
| autoDelivery.original.address | string | 注册时填写的地址。 |
| autoDelivery.original.zipcode | string | 注册时填写的邮编。 |
| autoDelivery.original.city | string | 注册时填写的城市。 |
| autoDelivery.original.state | string | 注册时填写的州/省。 |
| autoDelivery.original.country | string | 注册时填写的国家。 |
| autoDelivery.original.birthday | string | 注册时填写的出生日期。 (ISO 8601 格式). |
| autoDelivery.original.question | string | 注册时填写的安保问题。 |
| autoDelivery.original.answer | string | 注册时填写的安保问题答案。 |
| autoDelivery.current | object | 账号当前持有人信息。 |
| autoDelivery.current.firstName | string | 持有人的名。 |
| autoDelivery.current.lastName | string | 持有人的姓。 |
| autoDelivery.current.phone | string | 持有人的手机号码。 |
| autoDelivery.current.email | string | 持有人的电子邮箱。 |
| autoDelivery.current.address | string | 持有人的地址。 |
| autoDelivery.current.zipcode | string | 持有人的邮编。 |
| autoDelivery.current.city | string | 持有人所在城市。 |
| autoDelivery.current.state | string | 持有人所在州/省。 |
| autoDelivery.current.country | string | 持有人所在国家。 |
| autoDelivery.instruction | string | 其它补充信息。 |
iii. 报错示例
响应报错
{
"code": 10002,
"message": "Offer not found.",
"requestId": "550e8400-e29b-41d4-a716-446655440000"
}常见报错代码
| 参数 | 类型 | 描述 |
|---|---|---|
| code | int | 报错代码。 常见值: 10002 (无效参数), 50001 (服务器内部错误)。 |
| message | string | 报错详情。 |
| requestId | string | 请求标识号,用以追溯。 |