获取中国商品税收设置报告
基于预定义的中国税收设置,获取能运送到中国的商家商品列表。
相关URL
Newegg.com: https://api.newegg.com/marketplace/reportmgmt/report/result?sellerid={sellerid}
注:请确保您的请求URL全都是小写(除Seller ID)并且不能包含任何空格或者换行符。
参数
| 名称 | 是否必填? | 描述 |
| sellerid | 是 | 您在新蛋商城的商家编号 |
相关请求信息
| HTTP方式 | 是否需要认证? | 请求格式 | 回复格式 | 频率限制 |
| PUT | 需要 | XML,Json | XML,Json | 500 请求/小时 |
请求文件主体
| 属性 | 是否必填? | 格式 | 描述 |
| IssueUser | 否 | String | 请求发送者在 Seller Portal 上注册过的邮箱地址 。
系统只接受商家注册过的 Seller Portal 邮箱地址。如果为空,默认值为商家编号 |
| OperationType | 是 | String | 固定值:ItemChinaTaxSettingReportRequest |
| RequestID | 是 | String | 新蛋分配的已提交的请求的编号 |
| PageIndex | 是 | Integer | 当前页索引 |
| PageSize | 是 | Integer | 一页中的记录数(最大值为每页100 条记录) |
Schema: GetReportRequest.xsd
示例:XML,Request
PUT https://api.newegg.com/marketplace/reportmgmt/report/result?sellerid={sellerid}
Authorization: 720ddc067f4d115bd544aff46bc75634
SecretKey: 21EC2020-3AEA-1069-A2DD-08002B30309D
Content-Type: application/xml
Accept: application/xml
<NeweggAPIRequest >
<OperationType>ItemChinaTaxSettingReportRequest</OperationType>
<RequestBody>
<RequestID>2PQBYWH4V68ZP</RequestID>
<PageInfo>
<PageIndex>1</PageIndex>
<PageSize>10</PageSize>
</PageInfo>
</RequestBody>
</NeweggAPIRequest>
示例:Json,Request
PUT https://api.newegg.com/marketplace/reportmgmt/report/result?sellerid={sellerid}
Authorization: 720ddc067f4d115bd544aff46bc75634
SecretKey: 21EC2020-3AEA-1069-A2DD-08002B30309D
Content-Type: application/json
Accept: application/json
{
"OperationType": "ItemChinaTaxSettingReportRequest",
"RequestBody": {
"RequestID": "2PQBYWH4V68ZP",
"PageInfo": {
"PageSize": "10",
"PageIndex": "1"
}
}
}
回复文件主体
| 属性 | 格式 | 描述 | ||||||||||
| IsSuccess | String | 获取数据状态操作: True:成功 False:失败 |
||||||||||
| SellerID | String | 你的商家编号 | ||||||||||
| OperationType | String | 固定值:ItemChinaTaxSettingReportResponse | ||||||||||
| RequestID | String | 你的请求编号 | ||||||||||
| RequestType | String | ITEM_CHINATAXSETTING_REPORT | ||||||||||
| RequestDate | String | 请求时间(太平洋标准时间) | ||||||||||
| ReportFileURL | String | 获取报告处理文件的 ftp 文件路径:例如 ftp://API52qNFlUQ:pKLgE2aE@ftp03.newegg.com/InternationalInventoryReport_2PN75DT8ZICH8.txt 文件各属性信息:
|
||||||||||
| Memo | String | 附加信息 |
Schema: ItemChinaTaxSettingReportResponse.xsd
示例:XML,Response
<?xml version="1.0" encoding="utf-8"?>
<NeweggAPIResponse>
<IsSuccess>true</IsSuccess>
<sellerID>A006</sellerID>
<OperationType>ItemChinaTaxSettingReportResponse</OperationType>
<ResponseBody>
<RequestID>2PQC13C7UYDPQ</RequestID>
<RequestType>ITEM_CHINATAXSETTING_REPORT</RequestType>
<RequestDate>2/21/2012 15:32:57</RequestDate>
<ReportFileURL>ftp://APIe6Cl2FfE:M9RUtm2s@ftp03.newegg.com/InternationalInventoryReport_2PQC13C7UYDPQ.xls</ReportFileURL>
</ResponseBody>
<Memo />
</NeweggAPIResponse>
示例:Json,Response
{
"NeweggAPIResponse": {
"IsSuccess": "true",
"sellerID": "A006",
"OperationType": "ItemChinaTaxSettingReportResponse",
"ResponseBody": {
"RequestID": "2PQC13C7UYDPQ",
"RequestType": "ITEM_CHINATAXSETTING_REPORT",
"RequestDate": "2/21/2012 15:32:57",
"ReportFileURL": "ftp://APIe6Cl2FfE:M9RUtm2s@ftp03.newegg.com/InternationalInventoryReport_2PQC13C7UYDPQ.xls"
},
"Memo": null
}
}
请求失败错误信息
常规HTTP错误回复,请参考回复失败错误代码列表。
示例:XML,Response
<?xml version="1.0" encoding="utf-8"?>
<Errors>
<Error>
<Code>CE001</Code>
<Message>SellerID cannot be null or empty</Message>
</Error>
</Errors>
示例:Json,Response
[
{
"Code": "CE001",
"Message": "SellerID cannot be null or empty"
}
]
更新日期:10/15/2018