Gethttps://seller-api.playerauctions.com/api/v1/offers/bulk-template
下载批量上传模板文件
i. 请求参数
检索参数
| 参数 | 类型 | 必填 | 描述 |
|---|---|---|---|
| productType | string | 是 | 产品类别: "currency"(货币), "items"(装备), 或 "accounts"(账号). |
| fileType | string | 是 | 下载文件类别: "template"(模板), "serverlist"(服务器列表), "currencytypelist" (货币列表,限货币类), "itemlist" (装备列表,限装备类), 或 "emaildomains" (邮箱域名列表,限账号类). |
ii. 响应
按 productType 和 fileType 参数生成并返回一个 Excel(.xlsx)文件。
响应报错
{
"code": 10002,
"message": "ProductType parameter error",
"requestId": "550e8400-e29b-41d4-a716-446655440000"
}常见报错代码
| 参数 | 类型 | 描述 |
|---|---|---|
| code | int | 报错代码。40001 (卖家等级未达标), 10002 (无效参数)。 |
| message | string | 报错详情。 |
| requestId | string | 请求标识号,用以追溯。 |
注
- 批量上传工具仅对获准使用该功能的卖家开放