Amazon MWS API: - _POST_PRODUCT_DATA_ SubmitFeed 给出错误



我正在尝试为美容/护发产品提交新的商品 Feed。

这是我尝试提交的 xml 请求。

<?xml version="1.0" encoding="iso-8859-1"?>
<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>Update</OperationType>
<Product>
<SKU>BU07612251AC</SKU>
<Condition>
<ConditionType>New</ConditionType>
</Condition>
<DescriptionData>
<Title>Coconut Oil Baobab Sulfate-Free Invigorating Shampoo</Title>
<Brand>ORS</Brand>
<Description>Lather-rich, sulfate-free shampoo gently cleanses while reparative oils and plant-derived protein nourish and help reinforce strands to invigorate and revive damaged hair and dry scalp</Description>
</DescriptionData>
<ProductData>
<Beauty>
<ProductType>
<HairCareProduct>
<Directions>The product is applied on wet hair and massage into lather. Rinse well. ‭Repeat, if necessary, leaving on hair 2 to 3 minutes. Rinse thoroughly. ‭Follow with HAIRepair Restoring Conditioner. </Directions>
</HairCareProduct>
</ProductType>
</Beauty>
</ProductData>
</Product>
</Message>
</AmazonEnvelope>

当我提交此请求并检查结果时,我可以看到如下错误。

<?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.02</DocumentVersion>
<MerchantIdentifier>xxxxxxxxxx</MerchantIdentifier>
</Header>
<MessageType>ProcessingReport</MessageType>
<Message>
<MessageID>1</MessageID>
<ProcessingReport>
<DocumentTransactionID>xxxxxxx</DocumentTransactionID>
<StatusCode>Complete</StatusCode>
<ProcessingSummary>
<MessagesProcessed>1</MessagesProcessed>
<MessagesSuccessful>0</MessagesSuccessful>
<MessagesWithError>2</MessagesWithError>
<MessagesWithWarning>0</MessagesWithWarning>
</ProcessingSummary>
<Result>
<MessageID>0</MessageID>
<ResultCode>Error</ResultCode>
<ResultMessageCode>90215</ResultMessageCode>
<ResultDescription>100% of the products in your file did not process successfully. We recommend using Check My File to help you identify and correct common listing errors before updating your inventory. To use Check My File, upload your file on the "Add Products via Upload" page in the "Check My File" section.</ResultDescription>
</Result>
<Result>
<MessageID>1</MessageID>
<ResultCode>Error</ResultCode>
<ResultMessageCode>99001</ResultMessageCode>
<ResultDescription>A value is required for the "part_number" field.</ResultDescription>
<AdditionalInfo>
<SKU>BU07612251AC</SKU>
</AdditionalInfo>
</Result>
</ProcessingReport>
</Message>
</AmazonEnvelope>

请不要,我的产品类别是美容/护发产品。 让我知道xml文件中出了什么问题。我已经尝试了很多教程,示例来解决这个问题,但没有运气。

错误消息指的是 CSV 列的名称(在 MWS 中称为"平面文件"(,part_number列的名称。在 XML 中,您需要指定一个StandardProductID,如下所示:

<StandardProductID>
<Type>EAN</Type>
<Value>1234567890123</Value>
</StandardProductID>    

另请注意,我的Beauty.xsd没有HairCareProduct。我不得不将其更改为BeautyMisc以验证提要 - 但这可能是由于一组过时的 XSD。

我认为这是来自亚马逊的错误:

"part_number"字段需要值

他们想要该字段的数据。 你能提供吗?

这里有什么可能有帮助的吗? https://forum.nitrosell.com/t/multiple-errors-when-trying-to-upload-items-to-amazon/674/10

最新更新