【发布时间】:2017-06-09 10:29:05
【问题描述】:
我正在尝试使用亚马逊 MWS 上传产品。我的代码如下:
<Message>
<MessageID>3933</MessageID>
<OperationType>PartialUpdate</OperationType>
<Product>
<SKU>EL01080-CC</SKU>
<StandardProductID>
<Type>EAN</Type>
<Value>8435405918599</Value>
</StandardProductID>
<Condition>
<ConditionType>New</ConditionType>
</Condition>
<DescriptionData>
<Title><![CDATA[Power Hair X5 Maquillaje capilar indetectable para calvicie. Bote de 25g , color castaño claro]]></Title>
<Brand><![CDATA[PowerHair]]></Brand>
<Description><![CDATA[Gama de colores...]]></Description>
<Manufacturer><![CDATA[PowerHair]]></Manufacturer>
<MfrPartNumber><![CDATA[EL01080-CC]]></MfrPartNumber>
<RecommendedBrowseNode>2928542031</RecommendedBrowseNode>
</DescriptionData>
<ProductData><Home>
<Parentage>child</Parentage>
<VariationData>
<VariationTheme>Size-Color</VariationTheme>
</VariationData>
<Size>Medium</Size>
<Color>Dark Grey Melange</Color>
</Home></ProductData>
</Product>
</Message>
我收到以下错误:
XML Parsing Error at Line 145520, Column 11: cvc-complex-type.2.4.a: Invalid content was found starting with element &"Size&". One of &"{BatteryDescription, CanShipInOriginalContainer, CountryAsLabeled, CountryOfOrigin, CountryProducedIn, ImportDesignation, FurDescription, IdentityPackageType, IncludedComponents, FabricType, PatternName, SeatHeight, SpecialFeatures, StyleName, Occasion, MatteStyle, DisplayLength, DisplayWidth, DisplayHeight, DisplayDepth, DisplayDiameter, DisplayVolume, DisplayWeight, ItemPackageQuantity, ManufacturerWarrantyDescription, Volume, VolumeCapacity, Material, ThreadCount, NumberOfPieces, SafetyWarning, AwardsWon, BatteryAverageLife, BatteryAverageLifeStandby, BatteryChargeTime, BatteryTypeLithiumIon, BatteryTypeLithiumMetal, LithiumBatteryEnergyContent, LithiumBatteryPackaging, LithiumBatteryVoltage, LithiumBatteryWeight, MfgWarrantyDescriptionLabor, MfgWarrantyDescriptionParts, MfgWarrantyDescriptionType, NumberOfItemsInPackage, NumberOfLithiumIonCells, NumberOfLithiumMetalCells, PowerSourceType, RegionOfOrigin, SellerWarrantyDescription, SizeMap, Warnings, Wattage, Length, Width, Height, Depth, Diameter, Weight, Spread, SunlightExposure, MoistureNeeds, USDAHardinessZone, SunsetClimateZone, NumberOfSets}&" is expected.
如果我删除 ProducData 标签,我可以上传它而不会出现问题。如何使用此变体上传它?我找不到有关如何执行此操作的任何适当文档。我遇到了尺寸和颜色标签的问题。
【问题讨论】:
-
我需要获取带有变体的后期产品示例正文。你能帮帮我吗?
标签: xml amazon-web-services amazon amazon-mws