【问题标题】:Amazon MWS API: - _POST_PRODUCT_DATA_ SubmitFeed gives error亚马逊 MWS API:- _POST_PRODUCT_DATA_ SubmitFeed 给出错误
【发布时间】:2018-09-25 09:59:39
【问题描述】:

我正在尝试为 Beauty / HairCareProduct 产品提交新的产品 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 文件中有什么问题。我尝试了很多教程和示例来解决这个问题,但没有运气。

【问题讨论】:

    标签: xml amazon-web-services api amazon-mws


    【解决方案1】:

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

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

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

    【讨论】:

      【解决方案2】:

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

      “part_number”字段需要一个值

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

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

      【讨论】:

      • 您能否为属于 Beauty/Haricare 类别的产品发布一个有效的 xml 示例请求?我通过引用 Beauty.XSD 创建了上述请求,但没有运气。
      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-04-12
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多