2014-09-25 21 views
0

在此xml文件中,我如何添加產品類別?我使用<ProductCategoryId>標籤爲這個puprpose。但它也顯示錯誤。任何人都可以爲此提出解決方案..?如何通過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>example</MerchantIdentifier> 
</Header> 
<MessageType>Product</MessageType> 
<PurgeAndReplace>false</PurgeAndReplace> 
<Message> 
<MessageID>1</MessageID> 
<OperationType>Update</OperationType> 
<Product> 
<SKU>R1000TEST</SKU> 
<ProductTaxCode>A_GEN_NOTAX</ProductTaxCode> 
<DescriptionData> 
<Title>test_material name</Title> 
<Brand>Applexus</Brand> 
<Description>test_material name</Description> 
<BulletPoint>Example Bullet Point 1</BulletPoint> 
<BulletPoint>Example Bullet Point 2</BulletPoint> 
<MSRP currency="USD">25.19</MSRP> 
<Manufacturer>Applexus</Manufacturer> 
<ItemType>Wireless</ItemType> 
</DescriptionData> 
<ProductData> 
<Health> 
<ProductType> 
<HealthMisc> 
<Ingredients>Example Ingredients</Ingredients> 
<Directions>Example Directions</Directions> 
</HealthMisc> 
</ProductType> 
</Health> 
</ProductData> 
</Product> 
</Message> 
</AmazonEnvelope> 

回答

0

嘗試增加你正確的商家

<MerchantIdentifier>Corrent_M_ID_e.g_5618548151F487</MerchantIdentifier>

+0

hi..i試過上面的代碼...... BT其不給結果 – 2014-10-06 06:13:26

相關問題