獲取新製造商請求處理狀態
獲取加入新製造商請求處理狀態。
相關URL
Newegg.com: https://api.newegg.com/marketplace/contentmgmt/manufacturer/creationrequeststatus?sellerid={sellerid} Nweggbusiness.com: https://api.newegg.com/marketplace/b2b/contentmgmt/manufacturer/creationrequeststatus?sellerid={sellerid} Newegg.ca: https://api.newegg.com/marketplace/can/contentmgmt/manufacturer/creationrequeststatus?sellerid={sellerid}
註:請確保您的請求URL全都是小寫(除Seller ID)並且不能包含任何空格或者分行符號。
參數
名稱 | 是否必填? | 描述 |
sellerid | 是 | 您在新蛋商城的商家編號 |
相關請求資訊
HTTP方式 | 是否需要認證? | 請求格式 | 回覆格式 | 頻率限制 |
PUT | 需要 | XML,Json | XML,Json | 1000 請求/小時 |
請求文件主體
屬性 | 是否必填? | 格式 | 描述 |
OperationType | 是 | String | 固定值:GetManufacturerStatusRequest |
ManufacturerName | 否 | String | 製造商名稱 |
Schema: GetManufacturerProcessStatusRequest.xsd
示例:XML, Request
PUT https://api.newegg.com/marketplace/contentmgmt/manufacturer/creationrequeststatus?sellerid={SellerID} Authorization: 720ddc067f4d115bd544aff46bc75634 SecretKey: 21EC2020-3AEA-1069-A2DD-08002B30309D Content-Type: application/xml Accept: application/xml <NeweggAPIRequest> <OperationType>GetManufacturerStatusRequest</OperationType> <RequestBody> <ManufacturerList> <ManufacturerName> <![CDATA[sony & wonder]]> </ManufacturerName> <ManufacturerName> <![CDATA[AWG]]> </ManufacturerName> </ManufacturerList> </RequestBody> </NeweggAPIRequest>
示例:Json, Request
PUT https://api.newegg.com/marketplace/contentmgmt/manufacturer/creationrequeststatus?sellerid={SellerID} Authorization: 720ddc067f4d115bd544aff46bc75634 SecretKey: 21EC2020-3AEA-1069-A2DD-08002B30309D Content-Type: application/json Accept: application/json { "OperationType": "GetManufacturerStatusRequest", "RequestBody": { "ManufacturerList": { "ManufacturerName": [ "sony & wonder", "AWG" ] } } }
回覆文件主體
屬性 | 格式 | 描述 |
IsSuccess | String | 確認查詢請求狀態的操作是否成功 固定值:True |
SellerID | String | 您的商家編號 |
OperationType | String | 固定值:GetManufacturerStatusResponse |
ResponseDate | String | 回應時間 |
RequestName | String | 原始請求中製造商名稱 |
ApprovedName | String | 在請求中應使用的已審核通過的製造商名稱 |
RequestDate | String | 請求時間 |
Status | String | 加入新製造商的請求狀態。有效值:
|
ProcessDate | String | 處理時間 |
DeclineReason | String | 被拒絕原因: 該欄位只有當Status=Declined時才有值 |
Schema: GetManufacturerProcessStatusResponse.xsd
示例: XML, Response
<?xml version="1.0" encoding="utf-8"?> <NeweggAPIResponse> <IsSuccess>true</IsSuccess> <SellerID>A006</SellerID> <OperationType>GetManufacturerStatusResponse</OperationType> <ResponseDate>2/22/2012 16:51:03</ResponseDate> <ResponseBody> <ManufacturerList> <Manufacturer> <RequestName> <![CDATA[AWG]]> </RequestName> <ApprovedName /> <Status>Processing</Status> <RequestDate>2/21/2012 16:51:03</RequestDate> <ProcessDate></ProcessDate> <DeclineReason/> </Manufacturer> <Manufacturer> <RequestName> <![CDATA[sony & wonder]]> </RequestName> <ApprovedName>sony</ApprovedName> <Status>Approved</Status> <RequestDate>2/21/2012 15:51:03</RequestDate> <ProcessDate>2/21/2012 16:51:03</ProcessDate> <DeclineReason/> </Manufacturer> <Manufacturer> <RequestName> <![CDATA[Sony vario]]> </RequestName> <ApprovedName /> <Status>Declined</Status> <RequestDate>2/21/2012 12:51:03</RequestDate> <ProcessDate>2/21/2012 16:51:03</ProcessDate> <DeclineReason> <![CDATA[please provide manufacturer URL]]> </DeclineReason> </Manufacturer> </ManufacturerList> </ResponseBody> </NeweggAPIResponse>
示例: Json, Response
{ "NeweggAPIResponse": { "IsSuccess": "true", "SellerID": "A006", "OperationType": "GetManufacturerStatusResponse", "ResponseDate": "2/22/2012 16:51:03", "ResponseBody": { "ManufacturerList": { "Manufacturer": [ { "RequestName": "AWG", "Status": "Processing", "RequestDate": "2/21/2012 16:51:03" }, { "RequestName": "sony & wonder", "ApprovedName": "sony", "Status": "Approved", "RequestDate": "2/21/2012 15:51:03", "ProcessDate": "2/21/2012 16:51:03" }, { "RequestName": "Sony vario", "Status": "Declined", "RequestDate": "2/21/2012 12:51:03", "ProcessDate": "2/21/2012 16:51:03", "DeclineReason": "please provide manufacturer URL" } ] } } } }
請求失敗錯誤資訊
常規HTTP錯誤回應,請參考回覆失敗錯誤代碼清單。
更新日期:10/15/2018