【发布时间】:2022-08-03 08:08:35
【问题描述】:
我正在尝试创建一个提要并在此提要中发送一个 XML 文件。
当我发送 XML 文件时,提要处理文件,API 将返回:
{
\"processingEndTime\": \"2022-06-28T08:12:12+00:00\",
\"processingStatus\": \"DONE\",
\"marketplaceIds\": [
\"A13V1IB3VIYZZH\"
],
\"feedId\": myFeedId,
\"feedType\": \"POST_PRODUCT_DATA\",
\"createdTime\": \"2022-06-28T08:10:39+00:00\",
\"processingStartTime\": \"2022-06-28T08:10:46+00:00\",
\"resultFeedDocumentId\": myResultFeedDocumentId
}
通过此响应,我假设 XML 文件已通过 Amazon SP-API 成功发送。
但是,当我收到提要处理报告 (https://developer-docs.amazon.com/sp-api/docs/feeds-api-v2021-06-30-use-case-guide#step-6-get-information-for-retrieving-the-feed-processing-report) 时,它会返回此错误:
SKU 43, Missing Attributes publication_date. SKU 43 doesn\'t match any ASINs. Make sure that all standard product ids (such as UPC, ISBN, EAN, or JAN codes) are correct. To create a new ASIN, include the following attributes: publication_date. Feed ID: 0. For more troubleshooting help, see http://sellercentral.amazon.fr/gp/errorcode/200692370
我在文档上进行了搜索,但找不到有关该字段的任何信息:发布日期.
笔记 :我检查了我的 XML 文件,我已经在发送<发布日期>和<发布日期>.
这是我发送的 XML 文件:
<?xml version=\"1.0\" encoding=\"utf-8\"?>
<AmazonEnvelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xsi:noNamespaceSchemaLocation=\"amzn-envelope.xsd\">
<Header>
<DocumentVersion>1.01</DocumentVersion>
<MerchantIdentifier>xxxxxxxx</MerchantIdentifier>
</Header>
<MessageType>Product</MessageType>
<PurgeAndReplace>false</PurgeAndReplace>
<Message>
<MessageID>1</MessageID>
<OperationType>PartialUpdate</OperationType>
<Product>
<SKU>43</SKU>
<StandardProductID>
<Type>ISBN</Type>
<Value>xxxxxxxx</Value>
</StandardProductID>
<LaunchDate>2022-06-28T10:34:15</LaunchDate>
<ReleaseDate>2013-06-17T00:00:00</ReleaseDate>
<Condition>
<ConditionType>New</ConditionType>
</Condition>
<ItemPackageQuantity>1</ItemPackageQuantity>
<NumberOfItems>1</NumberOfItems>
<DescriptionData>
<Title>xxxxxxxx</Title>
<Brand>xxxxxxxx</Brand>
<MSRP currency=\"EUR\">25</MSRP>
<ItemType>Book</ItemType>
</DescriptionData>
<ProductData>
<Books>
<ProductType>
<BooksMisc>
<Binding>School</Binding>
<Language>French</Language>
<NumberOfPages>302</NumberOfPages>
<Format>standard_edition</Format>
</BooksMisc>
</ProductType>
</Books>
</ProductData>
</Product>
</Message>
</AmazonEnvelope>
标签: xml amazon-web-services amz-sp-api amazon-sp-api