添加加州65号提案
批量为商品添加加利福尼亚州65号提案警告。
65号提案警告类型和新蛋警告代码的并排映射列表:
|
65号提案警告类型 |
新蛋警告类型ID |
将会展示在网页上的警告 |
| CONSUMER PRODUCTS (For exposures to listed carcinogens – Long-Form) |
103 | |
| CONSUMER PRODUCTS (For exposures to listed carcinogens – Short-Form) |
104 | |
| CONSUMER PRODUCTS (For exposures to listed reproductive toxicants – Long-Form) |
105 | chemicals], which is/are known to the State of California to cause birth defects or other reproductive harm. For more information go to www.P65Warnings.ca.gov. |
| CONSUMER PRODUCTS (For exposures to listed reproductive toxicants – Short-Form) |
106 | |
| CONSUMER PRODUCTS (For exposures to both listed carcinogens and reproductive toxicants – Long-Form) |
107 | |
| CONSUMER PRODUCTS (For exposures to both listed carcinogens and reproductive toxicants – Short-Form) |
108 | |
| CONSUMER PRODUCTS (For exposures to a chemical that is listed as both a carcinogen and a reproductive toxicant – Long-Form) |
109 | chemicals], which is/are known to the State of California to cause cancer and birth defects or other reproductive harm. For more information go to www.P65Warnings.ca.gov. |
| FOOD (For exposure to a listed carcinogen) | 110 | |
| FOOD (For exposure to a listed reproductive toxicant) | 111 | |
| FOOD (For exposure to both listed carcinogens and reproductive toxicants) | 112 | [name of one or more chemicals], which is/are known to the State of California to cause birth defects or other reproductive harm. For more information go to www.P65Warnings.ca.gov/food. |
| FOOD (For exposure to a chemical that is listed as both a carcinogen and a reproductive toxicant) | 113 | one or more chemicals], which is/are known to the State of California to cause cancer and birth defects or other reproductive harm. For more information go to www.P65Warnings.ca.gov/food. |
| ALCOHOLIC BEVERAGES | 114 | |
| DIESEL ENGINES | 115 | State of California to cause cancer and birth defects or other reproductive harm.
For more information, go to www.p65warnings.ca.gov/products/diesel. |
| FURNITURE | 116 | chemicals], which is/are known to the State of California to cause cancer or birth defects or other reproductive harm. For more information go to www.P65Warnings.ca.gov/furniture. |
| RECREATIONAL MARINE VESSELS | 117 | |
| VEHICLES | 118 | |
| WOOD DUST (TOOLS) | 119 |
相关URL
Newegg.com: https://api.newegg.com/marketplace/datafeedmgmt/feeds/submitfeed?sellerid={sellerid}&requesttype={RequestType}
Neweggbusiness.com: https://api.newegg.com/marketplace/b2b/datafeedmgmt/feeds/submitfeed?sellerid={sellerid}&requesttype={RequestType}
注:请确保您的请求URL全都是小写(除Seller ID)并且不能包含任何空格或者换行符。
参数
| 名称 | 是否必填? | 描述 |
| sellerid | 是 | 您在新蛋商城的商家编号 |
| RequestType | 是 | 值:ITEM_CAPROP65_DATA |
相关请求信息
| HTTP方式 | 是否需要认证? | 请求格式 | 回复格式 | 频率限制 |
| POST | 需要 | XML,Json | XML,Json | 1000 请求/小时 |
请求文件主体
| 属性 | 是否必填? | 格式 | 描述 |
| DocumentVersion | 是 | Decimal | 固定值:4.0 |
| MessageType | 是 | String | 固定值:AddingCAProp65 |
| SellerPartNumber | 如果不提供NeweggItem#,此项为必填 | String | 商家分配给商品的唯一编码。
用来标识需要更新Prop65的商品。 |
| NeweggItemNumber | 如果不提供SellerPart#,此项为必填 | String | 新蛋分配给商品的唯一编码。
用来标识需要更新Prop65的商品。 |
| WarningType_ID | 如果不提供UPC code, 此项为必填。 | String | 从103到119都是有效值。更多关于每个警告类型和相关的警告类型ID,请查阅65号提案警告类型和新蛋警告代码的并排映射列表。 |
| ChemicalName_Carcinogen | 否 | String | 列出商品中会致癌的化学名称:
请参考https://oehha.ca.gov/proposition-65 获取更多信息 |
| ChemicalName_ReproductiveToxicant | 否 | String | 列出商品中会导致出生缺陷或其他生殖危害的化学名称:
请参考https://oehha.ca.gov/proposition-65 获取更多信息 |
| ChemicalName_Both | 否 | String | 列出商品中会致癌和导致出生缺陷或其他生殖危害化学名称:
请参考https://oehha.ca.gov/proposition-65 获取更多信息 |
有关65号提案警告的背景,请参考https://www.p65warnings.ca.gov/new-proposition-65-warnings
有关65号提案和商业信息,请参考https://oehha.ca.gov/proposition-65/businesses-and-proposition-65
有关65号提案所列化学物的信息,请参考https://oehha.ca.gov/proposition-65/chemicals
Schema: AddingCA_Prop65.xsd
示例:XML,Request
POST https://api.newegg.com/marketplace/datafeedmgmt/feeds/submitfeed?sellerid={sellerid}&requesttype=ITEM_CAPROP65_DATA
Authorization: 720ddc067f4d115bd544aff46bc75634
SecretKey: 21EC2020-3AEA-1069-A2DD-08002B30309D
Content-Type: application/xml
Accept: application/xml
<NeweggEnvelope>
<Header>
<DocumentVersion>4.0</DocumentVersion>
</Header>
<MessageType>AddingCAProp65</MessageType>
<Message>
<Itemfeed>
<Item>
<SellerPartNumber>a006-test-001</SellerPartNumber>
<NeweggItemNumber>9SIAWE50008504</NeweggItemNumber>
<WarningType_ID>103</WarningType_ID>
<ChemicalName_Carcinogen>
<![CDATA[Acetaldehyde, Acetamide]]>
</ChemicalName_Carcinogen>
<ChemicalName_ReproductiveToxicant/>
<ChemicalName_Both/>
</Item>
</Itemfeed>
</Message>
</NeweggEnvelope>
示例:Json,Request
POST https://api.newegg.com/marketplace/datafeedmgmt/feeds/submitfeed?sellerid={sellerid}&requesttype=ITEM_CAPROP65_DATA
Authorization: 720ddc067f4d115bd544aff46bc75634
SecretKey: 21EC2020-3AEA-1069-A2DD-08002B30309D
Content-Type: application/json
Accept: application/json
{
"NeweggEnvelope": {
"Header": {
"DocumentVersion": "4.0"
},
"MessageType": "AddingCAProp65",
"Message": {
"Itemfeed": {
"Item": {
"SellerPartNumber": "a006-test-001",
"NeweggItemNumber": "9SIAWE50008504",
"WarningType_ID": "103",
"ChemicalName_Carcinogen": "Acetaldehyde, Acetamide"
}
}
}
}
}
回复文件主体
| 属性 | 格式 | 描述 |
| IsSuccess | String | 获取文件状态操作: True: 成功 False: 失败 |
| OperationType | String | 固定值:SubmitFeedResponse |
| SellerID | String | 商家编号 |
| RequestType | String | 值:ITEM_CAPROP65_DATA |
| RequestDate | String | 文件提交的时间(太平洋标准时间) |
| RequestStatus | String | 文件提交的状态:
SUBMITTED 已提交 |
| Memo | String | 附加信息 |
Schema: SubmitFeedResponse.xsd
示例:XML,Response
<?xml version="1.0" encoding="utf-8"?>
<NeweggAPIResponse>
<IsSuccess>true</IsSuccess>
<OperationType>SubmitFeedResponse</OperationType>
<SellerID>A006</SellerID>
<ResponseBody>
<ResponseList>
<ResponseInfo>
<RequestId>2291326430</RequestId>
<RequestType>ITEM_CAPROP65_DATA</RequestType>
<RequestDate>2/16/2012 12:29:19</RequestDate>
<RequestStatus>SUBMITTED</RequestStatus>
</ResponseInfo>
</ResponseList>
</ResponseBody>
<Memo />
</NeweggAPIResponse>
示例:Json,Response
{
"IsSuccess": true,
"OperationType": "SubmitFeedResponse",
"ResponseBody": {
"ResponseList": [
{
"RequestDate": "2/22/2012 17:24:35",
"RequestId": "2PQCX3CMQ82MK",
"RequestStatus": "SUBMITTED",
"RequestType": "ITEM_CAPROP65_DATA"
}
]
},
"SellerID": "A006"
}
请求失败错误信息
常规HTTP错误回复,请参考回复失败错误代码列表。
| 错误代码 | 描述 |
| DF003 | The MaxCount (maximum request records) CANNOT be over 30000.
最大请求数记录不能超过30000 |
| DF004 | Unfortunately, we are unable to process your request at this time. We apologize for the inconvenience. Please try again later.
很抱歉,目前我们无法处理您的请求。请您稍后再试。 |
| DF011 | Your data feed request will not be processed during the scheduled data feed processing restriction from [{begin timestamp: hh:mm:ss, MM/DD/YYYY}] to [{end timestamp: hh:mm:ss, MM/DD/YYYY}]). Please contact datafeeds@newegg.com if you have any question or concern. Thank you for your patience.
在已定的数据文件处理限制期内,从[{begin timestamp: hh:mm:ss, MM/DD/YYYY}] 到 [{end timestamp: hh:mm:ss, MM/DD/YYYY}],您的数据请求将无法被处理。如您有任何问题或者疑问,请联系datafeeds@newegg.com。 感谢您的耐心等待。 |
示例:XML,Response
<?xml version="1.0" encoding="utf-8"?>
<Errors>
<Error>
<Code>DF003</Code>
<Message>The MaxCount (maximum request records) CANNOT be over 30000</Message>
</Error>
</Errors>
示例:Json,Response
[
{
"Code": "DF003",
"Message": "The MaxCount (maximum request records) CANNOT be over 30000"
}
]
更新日期:10/15/2018