我正在尝试通过xml Feed添加产品,但仍然无法添加。我尝试通过亚马逊便笺簿显示状态完成,但当我在卖家帐户中检查时,它没有显示。您还可以查看下面我想提交的xml代码。
<?xml version="1.0" ?>
<AmazonEnvelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="amznenvelope.xsd">
<Header>
<DocumentVersion>1.01</DocumentVersion>
<MerchantIdentifier>M_SELLER_354577</MerchantIdentifier>
</Header>
<MessageType>Product</MessageType>
<PurgeAndReplace>true</PurgeAndReplace>
<Message>
<MessageID>1</MessageID>
<OperationType>Update</OperationType>
<Product>
<SKU>1Z-500ABR-FLAT</SKU>
<ProductTaxCode>A_GEN_TAX</ProductTaxCode>
<LaunchDate>2005-07-26T00:00:01</LaunchDate>
<DescriptionData>
<Title>Lyric 500 tc Queen Flat Sheet, Ivory</Title>
<Brand>Peacock Alley</Brand>
<Description>Lyric sheeting by Peacock Alley is the epitome of simple and classic elegance. The flat sheets
and pillowcases feature a double row of hemstitching. The fitted sheets fit mattresses up to 21 inches deep.
The sheets are shown at left with tone on tone monogramming, please call for monogramming details and prices.
Please note, gift wrapping and overnight shipping are not available for this style.</Description>
<BulletPoint>made in Italy</BulletPoint>
<BulletPoint>500 thread count</BulletPoint>
<BulletPoint>plain weave (percale)</BulletPoint>
<BulletPoint>100% Egyptian cotton</BulletPoint>
<Manufacturer>Peacock Alley</Manufacturer>
<SearchTerms>bedding</SearchTerms>
<SearchTerms>Sheets</SearchTerms>
<ItemType>flat-sheets</ItemType>
<IsGiftWrapAvailable>false</IsGiftWrapAvailable>
<IsGiftMessageAvailable>false</IsGiftMessageAvailable>
<RecommendedBrowseNode>60583031</RecommendedBrowseNode>
<RecommendedBrowseNode>60576021</RecommendedBrowseNode>
</DescriptionData>
<ProductData>
<Home>
<Parentage>variation-parent</Parentage>
<VariationData>
<VariationTheme>Size-Color</VariationTheme>
</VariationData>
<Material>cotton</Material>
<ThreadCount>500</ThreadCount>
</Home>
</ProductData>
</Product>
</Message>
</AmazonEnvelope>
答案 0 :(得分:0)
您的XML不会对我的XSD进行验证。为了让它验证,我必须改变两件事:
<ProductData>
...
<ProductData>
<Home>
<ProductType>
<BedAndBath>
<Material>cotton</Material>
<ThreadCount>500</ThreadCount>
<VariationData>
<VariationTheme>Size-Color</VariationTheme>
</VariationData>
</BedAndBath>
</ProductType>
<Parentage>variation-parent</Parentage>
</Home>
</ProductData>
....
请注意,提交单个Feed 不足以在亚马逊上成功创建新产品。 Creating items on Amazon using XML workflow
答案 1 :(得分:0)
请勿使用perge并将选项替换为true值,如果您设置为true,则会删除所有来自amazon卖家帐户的产品。
<PurgeAndReplace>true</PurgeAndReplace>