Xml 无法使用POST_PRODUCT_数据feedType创建列表
我正在尝试使用Xml 无法使用POST_PRODUCT_数据feedType创建列表,xml,xsd,amazon,amazonsellercentral,amz-sp-api,Xml,Xsd,Amazon,Amazonsellercentral,Amz Sp Api,我正在尝试使用POST\u PRODUCT\u DATAfeedType创建列表,我使用以下XML: <?xml version="1.0" encoding="utf-8"?> <AmazonEnvelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="amzn-envelope.x
POST\u PRODUCT\u 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>
1.01
{{MyMerchantIdentifier}
产品
1.
更新
ME-9J1B-C24Q-42
UPC
YSJS899SS
2018-07-26T00:00:01
2020-07-26T00:00:01
新的
男式T恤
通用的
最新男式T恤
印度制造
500线程计数
平纹织物
100%埃及长绒棉
15
10
1.
100
110
1.
NA
孔雀巷
t-100
床上用品
T恤
6109
1968123031
男性的
测试
测试
测试
1.
计数
大的
红色
衬衫
红色
100%纯棉
机洗
随便的
夏天
T恤
无领
半袖
在里面
大的
棉
圆领
印刷的
麦考尔1
时髦的
最新的
圆领
男性的
卡通
傍晚
苗条的
成人
阿尔法
as1
L
我得到以下错误:
<?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>
1.02
A35LE58I1C8I0
处理报告
1.
50036018778
完成
1.
0
1.
0
1.
错误
5000
第78行第20列的XML分析错误:cvc复杂类型。2.4.a:发现以元素&apos;开头的无效内容;FitType&apos;。其中一个&apos;{LeatherType,IsVeryHighValue,IsStainResistance,HarmonizedCode,Contributor,BaseLength,SupportType,WeaveType,SymplyType,DesignName,CollectionDescription,Specifications for Product,PatternName,ShellType,NumberOfWheels}&apos;这是意料之中的事。
ME-9J1B-C24Q-42
1.
错误
5000
第83行第20列的XML分析错误:cvc复杂类型。2.4.a:发现以元素&apos;开头的无效内容;衬衫尺码;。其中一个&apos;{ShirtSizeTo、ShirtSleeveLength、ShirtSleeveLength、PlayerName、BackStyle、BeltleengthString、ContainesLiquidContent、Coverage、DisplaySize、Hazmate Exception、ImporterContactInformation、IsolationType、ItemDisplayDiameter、ItemDisplayHeight、ItemDisplayWidth、ItemShape、ItemStyleing、ItemTypeName、JacketLength、LeagueName、内衬描述、NumberrOfPieces,Sports Number of Pocket,Artist传记,Packer Contact Information,Pad Type,Shaft Type,Skill Level,Sport,TeamName,ToeTyle,UnitCount Count,PPUCountType,Waterresistance Depth,Hazmate Regulator Packing Group,Shoehightmap,IsExclusive Product,SubBrandName,Supplier Declared Material Regulation,BottomsByType,BottomsHighttle,BottomsInseamSize,Bottomsize,BottomsizeClass,BottomsizeSystem,Bottomsizeto,BottomsWaistSize,CustomerPackageType,Duration,FulfillmentCenter SpecialStorage,GripType,HeadSizeName,HeadsWear Size,HeadsWear Size Class,HeadsWear Size System,HeadsWear Size To,Items BookingDate,Lifecycles SupplyType,MatterStyle,ShapeArband Size,ShapeArband Size To,ShapeWambodype,ShapeWebArcUpSize,ShapewerCapsizeTo,ShapeWebarHeightType,ShapewerArsSize,ShapewerSizeze,ShapewersIzelass,ShapewersIzes系统,裙身类型,裙板高度型,裙板尺寸,裙尺寸,裙板尺寸,分类代码类型,功率,空气容量,AmzMinimum,BatteryCapity,BatteryDescription,BeltWidth、叶片类型、叶片长度、光输出亮度、容量、中心长度、开关类型、封闭材料、蔬菜隔间容量、兼容设备、兼容附件、兼容车辆类型、冷却类型、冷却瓦数、转弯半径、自定义限制类型、切割类型、切割宽度、设备类型、显示类型、能量效率、能量回转消耗量、能效冷却、环境说明、能效等级加热、能效等级、延伸长度、紧固类型、冲洗类型、包装尺寸、粒度、粒度、粒度类型、手动定位、手动换位、手柄材料、加热器附件、眼睛、马力、软管长度、内部流量计串、安装类型、,R值、所需组件、项目直径、项目显示区域、显示深度、项目间距、项目厚度字符串、项目扭矩、显示远程激光颜色、光学涂层、透镜颜色、光源类型、最大电流、最大流量、最大压力、最大功率、重量限制、测量精度、测量系统、最小效率报告值、MountType,AudibleNoise,NumberOfSinks,NumberOfBox,隔间数量,手柄数量,PlugType,DrillPointType,PowerPlugType,回收内容百分比,螺钉头样式,ShortProductDescription,ShortProductDescription,Shoulder StrapDrop,SizeInfoDisplayName,Speed,SpeedRating,Spotheight,Spottreach,StorageVolume,Cord Length,SwitchStyle,TargetAudienceBase,TemperatureRange、螺距、粗糙度、管道外径、防紫外线、查看区域、容积容量名称、耗水量、卡扣类型、延长长度、内置灯、噪音测试、噪音控制、产品效益、材料类型自由}&apos;这是意料之中的事。
ME-9J1B-C24Q-42