获取入货请求结果
获取指定入货请求的处理结果。
相关URL
Newegg.com: https://api.newegg.com/marketplace/sbnmgmt/inboundshipment/shipmentresult/{requestid}?sellerid={sellerid} Neweggbusiness.com: https://api.newegg.com/marketplace/b2b/sbnmgmt/inboundshipment/shipmentresult/{requestid}?sellerid={sellerid}
注:请确保您的请求URL全都是小写(除Seller ID)并且不能包含任何空格或者换行符。
参数
名称 | 是否必填? | 描述 |
sellerid | 是 | 您在新蛋商城的商家编号 |
相关请求信息
HTTP方式 | 是否需要认证? | 请求格式 | 回复格式 | 频率限制 |
GET | 需要 | XML,Json | XML,Json | 500 请求/小时 |
请求文件主体
示例:XML,Request
GET https://api.newegg.com/marketplace/sbnmgmt/inboundshipment/shipmentresult/{requestid}?sellerid={sellerid} Authorization: 720ddc067f4d115bd544aff46bc75634 SecretKey: 21EC2020-3AEA-1069-A2DD-08002B30309D Content-Type: application/xml Accept: application/xml
示例:Json,Request
GET https://api.newegg.com/marketplace/sbnmgmt/inboundshipment/shipmentresult/{requestid}?sellerid={sellerid} Authorization: 720ddc067f4d115bd544aff46bc75634 SecretKey: 21EC2020-3AEA-1069-A2DD-08002B30309D Content-Type: application/json Accept: application/json
回复文件主体
对于创建的全新货运单,一旦你的请求被成功创建,我们将会返回货运编号和新蛋支持的标签文件以供下载。
属性 | 格式 | 描述 |
IsSuccess | String | 用来确认获取请求状态的操作是否成功: True:成功 False:失败 |
OperationType | String | 固定值:GetShipmentResultResponse |
SellerID | String | 卖家编号 |
RequestID | String | 请求编号 |
RequestDate | String | 请求提交时间 |
RequestStatus | String | 请求的状态:
FINISHED 已完成 |
LabelType | String | 标签类型: ItemLabel 商品标签 PackageLabel 包裹标签 ShippingLabel 货运标签 PackingListLabel 包裹清单列表标签 |
LabelURL | String | 标签下载链接 |
ErrorDescription | String | 错误信息描述 |
Schema: GetInboundShipmentResultResponse.xsd
示例:XML,Response
<?xml version="1.0" encoding="utf-8"?> <NeweggAPIResponse> <IsSuccess>true</IsSuccess> <OperationType>GetShipmentResultResponse</OperationType> <SellerID>A006</SellerID> <ResponseBody> <RequestID>21VS8NZ4D1RU9</RequestID> <RequestDate>07/14/2013 22:41:25</RequestDate> <ProcessedDate>07/14/2013 22:42:40</ProcessedDate> <RequestStatus>FINISHED</RequestStatus> <Shipment> <ShipmentID>2768782</ShipmentID> <LabelURLList> <Label> <LabelType>ItemLabel</LabelType> <LabelUrl>ftp://API-kisRuBid:aa8ke7h8@ftp03.newegg.com/fff5267a-b688-4705-a676-6b17e910454a.pdf</LabelUrl> </Label> <Label> <LabelType>PackageLabel</LabelType> <LabelUrl>ftp://API-kisRuBid:aa8ke7h8@ftp03.newegg.com/ac2ec547-4492-41c0-80facbcbd2e5a393.pdf</LabelUrl> </Label> <Label> <LabelType>PackingListLabel</LabelType> <LabelUrl>ftp://API-kisRuBid:aa8ke7h8@ftp03.newegg.com/d5dd197a-5e4a-410d-bc12-98841ea84623.pdf</LabelUrl> </Label> <Label> <LabelType>ShippingLabel</LabelType> <LabelUrl>ftp://API-kisRuBid:aa8ke7h8@ftp03.newegg.com/063d7c3a-0ed3-4b5f-adb7-f21ba46e2d4f.pdf</LabelUrl> </Label> </LabelURLList> <ErrorList></ErrorList> </Shipment> </ResponseBody> </NeweggAPIResponse>
示例:Json,Response
{ "IsSuccess": "true", "OperationType": "GetShipmentResultResponse", "SellerID": "A006", "ResponseBody": { "RequestID": "21VS8NZ4D1RU9", "RequestDate": "07/14/2013 22:41:25", "ProcessedDate": "07/14/2013 22:42:40", "RequestStatus": "FINISHED", "Shipment": { "ShipmentID": 2768782, "Label": [ { "LabelType": "ItemLabel", "LabelUrl": "ftp://API-kisRuBid:aa8ke7h8@ftp03.newegg.com/fff5267a-b688-4705-a676-6b17e910454a.pdf" }, { "LabelType": "PackageLabel", "LabelUrl": "ftp://API-kisRuBid:aa8ke7h8@ftp03.newegg.com/ac2ec547-4492-41c0-80facbcbd2e5a393.pdf" }, { "LabelType": "PackingListLabel", "LabelUrl": "ftp://API-kisRuBid:aa8ke7h8@ftp03.newegg.com/d5dd197a-5e4a-410d-bc12-98841ea84623.pdf" }, { "LabelType": "ShippingLabel", "LabelUrl": "ftp://API-kisRuBid:aa8ke7h8@ftp03.newegg.com/063d7c3a-0ed3-4b5f-adb7-f21ba46e2d4f.pdf" } ] } } }
请求失败错误信息
常规HTTP错误回复,请参考回复失败错误代码列表。
更新日期:10/15/2018