注:饲料产品数据问题亚马逊

时间:2014-11-07 13:34:59

标签: php amazon-web-services amazon wms

当我通过amazon mws feed api添加产品时,我感觉像#34;" recommended_browse_nodes"字段"

如何将此值和标记添加到我的请求中。

我需要包含哪个值。

我的要求:

                <?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>M_EXAMPLE_123456</MerchantIdentifier>
            </Header>
            <MessageType>Product</MessageType>
            <PurgeAndReplace>false</PurgeAndReplace>
            <Message>
            <MessageID>1</MessageID>
            <OperationType>Update</OperationType>
            <Product>
            <SKU>56789</SKU>
            <StandardProductID>
            <Type>ASIN</Type>
            <Value>B0EXAMPLEG</Value>
            </StandardProductID>
            <ProductTaxCode>A_GEN_NOTAX</ProductTaxCode>
            <Condition>
            <ConditionType>New</ConditionType>
            </Condition>
            <DescriptionData>
            <Title>Laptop Product Add</Title>
            <Brand>Example Product Brand</Brand>
            <Description>This is an example product description.</Description>
            <BulletPoint>Example Bullet Point 1</BulletPoint>
            <BulletPoint>Example Bullet Point 2</BulletPoint>
            <MSRP currency="USD">25.19</MSRP>
            <Manufacturer>Example Product Manufacturer</Manufacturer>
            <ItemType>example-item-type</ItemType>
            </DescriptionData>
            <ProductData>
            <Home>
            <ProductType>
            <Kitchen></Kitchen>
            </ProductType>
            </Home>
            </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>M_YOURDAILYS_1258844</MerchantIdentifier>
            </Header>
            <MessageType>ProcessingReport</MessageType>
            <Message>
            <MessageID>1</MessageID>
            <ProcessingReport>
            <DocumentTransactionID>50048016381</DocumentTransactionID>
            <StatusCode>Complete</StatusCode>
            <ProcessingSummary>
            <MessagesProcessed>1</MessagesProcessed>
            <MessagesSuccessful>0</MessagesSuccessful>
            <MessagesWithError>1</MessagesWithError>
            <MessagesWithWarning>0</MessagesWithWarning>
            </ProcessingSummary>
            <Result>
            <MessageID>0</MessageID>
            <ResultCode>Warning</ResultCode>
            <ResultMessageCode>90000</ResultMessageCode>
            <ResultDescription>http://sellercentral-europe.amazon.com/myi/search/ErrorListingsSummary?batchId=50048016381</ResultDescription>
            </Result>
            <Result>
            <MessageID>1</MessageID>
            <ResultCode>Error</ResultCode>
            <ResultMessageCode>99001</ResultMessageCode>
            <ResultDescription>A value is required for the "recommended_browse_nodes" field.</ResultDescription>
            <AdditionalInfo>
            <SKU>56789</SKU>
            </AdditionalInfo>
            </Result>
            </ProcessingReport>
            </Message>
            </AmazonEnvelope> 

如何解决此问题?