獲取進貨請求結果
獲取指定進貨請求的處理結果。
相關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