獲取加州65號提案警告報表

獲取該商家包含有加利福尼亞州65號提案警告的商品列表。

相關URL

Newegg.com: https://api.newegg.com/marketplace/reportmgmt/report/result?sellerid={sellerid}
Neweggbusiness.com: https://api.newegg.com/marketplace/b2b/reportmgmt/report/submitrequest?sellerid={sellerid}

註:請確保您的請求URL全都是小寫(除Seller ID)並且不能包含任何空格或者分行符號。

參數

名稱 是否必填? 描述
sellerid 您在新蛋商城的商家編號

相關請求資訊

HTTP方式 是否需要認證? 請求格式 回覆格式 頻率限制
PUT 需要 XML,Json XML,Json 500 請求/小時

請求文件主體

屬性 是否必填? 格式 描述
IssueUser String 請求發送者在Seller Portal上註冊過的郵箱位址 。

系統只接受商家註冊過的Seller Portal郵箱位址。如果為空,預設值為商家編號

OperationType String 固定值:CAProp65ReportRequest
RequestID String 新蛋分配的已提交的請求的編號

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>CAProp65ReportRequest</OperationType>
    <RequestBody>
        <RequestID>2PQBYWH4V68ZP</RequestID>
    </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": "CAProp65ReportRequest",
    "RequestBody": {
        "RequestID": "2PQBYWH4V68ZP"
    }
}

回覆文件主體

屬性 格式 描述
IsSuccess String 獲取資料狀態操作:
True:成功
False:失敗
SellerID String 你的商家編號
OperationType String 固定值: CAProp65ReportResponse
RequestID String 你的請求編號
RequestType String CAPROP65_REPORT
RequestDate String 請求時間(太平洋標準時間)
ReportFileURL String 獲取報表處理的 ftp 文件路徑:例如

ftp://API52qNFlUQ:pKLgE2aE@ftp03.newegg.com/InternationalInventoryReport_2PN75DT8ZICH8.txt

文件各屬性資訊:

屬性名稱 定義
Seller Part # 商家制訂給商品的編碼
NE Item # 新蛋制訂給商品的編碼
WarningType_ID 商品含有加油已知的致癌或生殖毒性化學物質。

請訪問www.oehha.ca.gove/prop65.html瞭解更多資訊。有效值列在“警告參考”欄裡。

ChemicalName_Carcinogen 列出商品含有致癌物質的化學名稱。

請訪問https://oehha.ca.gov/proposition-65 瞭解更多資訊。如果化學品與此類無關,請不填寫。多個值用逗號隔開。

ChemicalName_ReproductiveToxicant 列出商品含有造成出生缺陷或其他生殖損害的化學名稱。

請訪問https://oehha.ca.gov/proposition-65 瞭解更多資訊。如果化學品與此類無關,請不填寫。多個值用逗號隔開。

ChemicalName_Both 列出商品含有致癌,造成出生缺陷或其他生殖損害的化學名稱。

請訪問https://oehha.ca.gov/proposition-65 瞭解更多資訊。如果化學品與此類無關,請不填寫。多個值用逗號隔開。

註:結果可能會被分為多個文件,每個文件40,000條記錄。多個文件將會被壓縮為一個zip格式的文件包。

Memo String 附加資訊

Schema: CAProp65ReportResponse.xsd

示例: XML, Response

<?xml version="1.0" encoding="utf-8"?>
<NeweggAPIResponse>
    <IsSuccess>true</IsSuccess>
    <sellerID>A006</sellerID>
    <OperationType>CAProp65ReportResponse</OperationType>
    <ResponseBody>
        <RequestID>2PQC13C7UYDPQ</RequestID>
        <RequestType>CAPROP65_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": "CAProp65ReportResponse",
        "ResponseBody": {
            "RequestID": "2PQC13C7UYDPQ",
            "RequestType": "CAPROP65_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