我正在尝试使用POST_PRODUCT_DATA
feedType 创建列表,我正在使用以下 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>{{MyMerchantIdentifier}}</MerchantIdentifier>
</Header>
<MessageType>Product</MessageType>
<Message>
<MessageID>1</MessageID>
<OperationType>Update</OperationType>
<Product>
<SKU>ME-9J1B-C24Q-42</SKU>
<StandardProductID>
<Type>UPC</Type>
<Value>YSjsjs899ss</Value>
</StandardProductID>
<LaunchDate>2018-07-26T00:00:01</LaunchDate>
<ReleaseDate>2020-07-26T00:00:01</ReleaseDate>
<Condition>
<ConditionType>New</ConditionType>
</Condition>
<DescriptionData>
<Title>Men T-Shirt</Title>
<Brand>Generic</Brand>
<Description>Latest Men's Tshirt</Description>
<BulletPoint>made in India</BulletPoint>
<BulletPoint>500 thread count</BulletPoint>
<BulletPoint>plain weave (percale)</BulletPoint>
<BulletPoint>100% Egyptian cotton</BulletPoint>
<ItemDimensions>
<Length unitOfMeasure="IN">15</Length>
<Width unitOfMeasure="IN">10</Width>
<Height unitOfMeasure="IN">1</Height>
<Weight unitOfMeasure="GR">100</Weight>
</ItemDimensions>
<PackageWeight unitOfMeasure="GR">110</PackageWeight>
<MaxOrderQuantity>1</MaxOrderQuantity>
<LegalDisclaimer>NA</LegalDisclaimer>
<Manufacturer>Peacock Alley</Manufacturer>
<MfrPartNumber>t-100</MfrPartNumber>
<SearchTerms>bedding</SearchTerms>
<ItemType>T-Shirt</ItemType>
<ExternalProductInformation>6109</ExternalProductInformation>
<RecommendedBrowseNode>1968123031</RecommendedBrowseNode>
<DepartmentName>male</DepartmentName>
<ManufacturerContactInformation>test</ManufacturerContactInformation>
<ImporterContactInformation>test</ImporterContactInformation>
<PackerContactInformation>test</PackerContactInformation>
<UnitCount>1</UnitCount>
<PPUCountType>count</PPUCountType>
</DescriptionData>
<ProductData>
<Clothing>
<ClassificationData>
<Size>Large</Size>
<Color>Red</Color>
<ClothingType>Shirt</ClothingType>
<ColorMap>Red</ColorMap>
<MaterialComposition>100% Cotton</MaterialComposition>
<CareInstructions>Machine Wash</CareInstructions>
<OccasionAndLifestyle>Casual</OccasionAndLifestyle>
<Season>Summer</Season>
<StyleName>T-Shirt</StyleName>
<CollarType>Collarless</CollarType>
<SleeveType>HalfSleeve</SleeveType>
<CountryOfOrigin>IN</CountryOfOrigin>
<SizeMap>Large</SizeMap>
<MaterialType>Cotton</MaterialType>
<NeckStyle>RoundNeck</NeckStyle>
<PatternStyle>Printed</PatternStyle>
<CollectionName>MyColl 1</CollectionName>
<SpecialFeature>Trendy</SpecialFeature>
<SpecialFeature>Latest</SpecialFeature>
<SpecialFeature>Round neck</SpecialFeature>
<TargetGender>male</TargetGender>
<Theme>Cartoon</Theme>
<OccasionType>Evening</OccasionType>
<FitType>Slim</FitType>
</ClassificationData>
<AgeRangeDescription>adult</AgeRangeDescription>
<ShirtSizeClass>alpha</ShirtSizeClass>
<ShirtSizeSystem>as1</ShirtSizeSystem>
<ShirtSize>l</ShirtSize>
</Clothing>
</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>A35LE58I1C8I0</MerchantIdentifier>
</Header>
<MessageType>ProcessingReport</MessageType>
<Message>
<MessageID>1</MessageID>
<ProcessingReport>
<DocumentTransactionID>50036018778</DocumentTransactionID>
<StatusCode>Complete</StatusCode>
<ProcessingSummary>
<MessagesProcessed>1</MessagesProcessed>
<MessagesSuccessful>0</MessagesSuccessful>
<MessagesWithError>1</MessagesWithError>
<MessagesWithWarning>0</MessagesWithWarning>
</ProcessingSummary>
<Result>
<MessageID>1</MessageID>
<ResultCode>Error</ResultCode>
<ResultMessageCode>5000</ResultMessageCode>
<ResultDescription>XML Parsing Error at Line 78, Column 20: cvc-complex-type.2.4.a: Invalid content was found starting with element 'FitType'. One of '{LeatherType, IsVeryHighValue, IsStainResistant, HarmonizedCode, Contributor, BaseLength, SupportType, WeaveType, EmbroideryType, DesignName, CollectionDescription, SpecificUsesForProduct, PatternName, ShellType, NumberOfWheels}' is expected.</ResultDescription>
<AdditionalInfo>
<SKU>ME-9J1B-C24Q-42</SKU>
</AdditionalInfo>
</Result>
<Result>
<MessageID>1</MessageID>
<ResultCode>Error</ResultCode>
<ResultMessageCode>5000</ResultMessageCode>
<ResultDescription>XML Parsing Error at Line 83, Column 20: cvc-complex-type.2.4.a: Invalid content was found starting with element 'ShirtSize'. One of '{ShirtSizeTo, ShirtSleeveLength, ShirtSleeveLengthTo, PlayerName, BackStyle, BeltLengthString, ContainsLiquidContents, Coverage, DisplaySize, HazmatException, ImporterContactInformation, InsulationType, ItemDisplayDiameter, ItemDisplayHeight, ItemDisplayWidth, ItemShape, ItemStyling, ItemTypeName, JacketLength, LeagueName, LiningDescription, NumberOfPieces, SportsNumberOfPockets, ArtistBiography, PackerContactInformation, PadType, ShaftType, SkillLevel, Sport, TeamName, ToeStyle, UnitCount, PPUCountType, WaterResistanceDepth, HazmatRegulatoryPackingGroup, ShoeHeightMap, IsExclusiveProduct, SubBrandName, SupplierDeclaredMaterialRegulation, BottomsBodyType, BottomsHeightType, BottomsInseamSize, BottomsSize, BottomsSizeClass, BottomsSizeSystem, BottomsSizeTo, BottomsWaistSize, CustomerPackageType, Duration, FulfillmentCenterSpecialStorage, GripType, HeadSizeName, HeadwearSize, HeadwearSizeClass, HeadwearSizeSystem, HeadwearSizeTo, ItemBookingDate, LifecycleSupplyType, MatteStyle, ShapewearBandSize, ShapewearBandSizeTo, ShapewearBodyType, ShapewearCupSize, ShapewearCupSizeTo, ShapewearHeightType, ShapewearSize, ShapewearSizeClass, ShapewearSizeSystem, ShapewearSizeTo, SkirtBodyType, SkirtHeightType, SkirtSize, SkirtSizeClass, SkirtSizeSystem, SkirtSizeTo, SkirtWaistSize, TaxClassificationCodeType, Wattage, AirFlowCapacity, AmzMinimum, BatteryCapacity, BatteryDescription, BeltWidth, BladeType, BladeLength, LightOutputLuminance, Capacity, CenterLength, SwitchType, ClosureMaterial, VegetableCompartmentCapacity, CompatibleDevices, CompatibleFastenerRange, CompatibleWithVehicleType, CoolingType, CoolingWattage, CornerRadius, CustomerRestrictionType, CutType, CuttingWidth, DeviceType, DisplayType, EnergyEfficiencyRating, EnergyConsumption, EnergyEfficiencyRatioCooling, EnvironmentalDescription, EuEnergyEfficiencyClassHeating, EuEnergyLabelEfficiencyClass, ExtensionLength, FasteningType, FlushType, PackedSize, GritRating, GritType, HandOrientation, HandleLeverPlacement, HandleMaterial, HeaterWattage, Eye, Horsepower, HoseLength, InsideDiameterString, InstallationType, R-Value, IsAssemblyRequired, ItemDiameter, ItemDisplayArea, DisplayDepth, ItemPitch, ItemThicknessString, ItemTorque, PresentationRemoteLaserColor, OpticalCoatings, LensColor, LightingSourceType, MaximumCurrent, MaximumFlowRate, MaximumPressure, MaximumPower, WeightLimit, MeasurementAccuracy, MeasurementSystem, MinimumEfficiencyReportingValue, MountType, AudibleNoise, NumberOfSinks, NumberOfBoxes, CompartmentQuantity, NumberOfHandles, PlugType, DrillPointType, PowerPlugType, RecycledContentPercentage, ScrewHeadStyle, ShortProductDescription, ShoulderStrapDrop, SizeInfoDisplayName, Speed, SpeedRating, SpoutHeight, SpoutReach, StorageVolume, CordLength, SwitchStyle, TargetAudienceBase, TemperatureRange, ThreadPitch, RoughIn, TubingOutsideDiameter, UVProtection, ViewingArea, VolumeCapacityName, WaterConsumption, ClaspType, ExtendedLength, HasBuiltinLight, NoiseAttenuation, NoiseControl, ProductBenefit, MaterialTypeFree}' is expected.</ResultDescription>
<AdditionalInfo>
<SKU>ME-9J1B-C24Q-42</SKU>
</AdditionalInfo>
</Result>
</ProcessingReport>
</Message>
</AmazonEnvelope>