Java 沃尔玛邮政API的变化
我有一个不同颜色和尺寸变化的产品。我需要把它作为一个单一的产品来推广。是否有相同的xml可用于此目的 我从你那里得到了当前的XSDJava 沃尔玛邮政API的变化,java,xml,walmart-api,Java,Xml,Walmart Api,我有一个不同颜色和尺寸变化的产品。我需要把它作为一个单一的产品来推广。是否有相同的xml可用于此目的 我从你那里得到了当前的XSD 有人能帮我吗?请通过此链接: 下面是一个示例xml,它可能会帮助您: <MPItemFeed xsi:schemaLocation="http://walmart.com/MPItem.xsd "> <MPItemFeedHeader> <version>3.1</version>
有人能帮我吗?请通过此链接:
下面是一个示例xml,它可能会帮助您:
<MPItemFeed xsi:schemaLocation="http://walmart.com/MPItem.xsd ">
<MPItemFeedHeader>
<version>3.1</version>
<requestId>xxxx</requestId>
<requestBatchId>xxxxxxxx</requestBatchId>
<feedDate>2017-10-25T08:31:33</feedDate>
<mart>WALMART_US</mart>
</MPItemFeedHeader>
<MPItem>
<processMode>CREATE</processMode>
<feedDate>2017-10-25T08:31:34</feedDate>
<sku>xxxxxxx</sku>
<productIdentifiers>
<productIdentifier>
<productIdType>UPC</productIdType>
<productId>xxxx</productId>
</productIdentifier>
</productIdentifiers>
<MPProduct>
<SkuUpdate>No</SkuUpdate>
<msrp>32</msrp>
<ProductIdUpdate>Yes</ProductIdUpdate>
<productName> Embroidered Top</productName>
<additionalProductAttributes>
<additionalProductAttribute>
<productAttributeName>clothingSize</productAttributeName>
<productAttributeValue>XS</productAttributeValue>
</additionalProductAttribute>
</additionalProductAttributes>
<category>
<ClothingCategory>
<Clothing>
<shortDescription>xxx</shortDescription>
<brand>free people</brand>
<manufacturer>free people</manufacturer>
<pieceCount>1</pieceCount>
<mainImageUrl>http://abc.jpg</mainImageUrl>
<color>White</color>
<pattern>Floral</pattern>
<gender>Female</gender>
<clothingSize>XS</clothingSize>
<variantAttributeNames>
<variantAttributeName>clothingSize</variantAttributeName>
</variantAttributeNames>
<variantGroupId>It should be Same For All Varaiations</variantGroupId>
<isPrimaryVariant>Yes</isPrimaryVariant>
<isProp65WarningRequired>No</isProp65WarningRequired>
<clothingTopStyle>Tank</clothingTopStyle>
<dressShirtSize>Tank</dressShirtSize>
<sleeveStyle>Spaghetti Strap</sleeveStyle>
<occasion>Casual</occasion>
<keywords>loose fit,traditional wear,summer,swing,halter,cotton </keywords>
<swatchImages>
<swatchImage>
<swatchVariantAttribute>pattern</swatchVariantAttribute>
<swatchImageUrl>http://abv.jpg</swatchImageUrl>
</swatchImage>
</swatchImages>
<productSecondaryImageURL>
<productSecondaryImageURLValue>http://xyz.jpg</productSecondaryImageURLValue>
<productSecondaryImageURLValue>http://xss.jpg</productSecondaryImageURLValue>
<productSecondaryImageURLValue>http://abc.jpg</productSecondaryImageURLValue>
</productSecondaryImageURL>
</Clothing>
</ClothingCategory>
</category>
</MPProduct>
<MPOffer>
<price>32</price>
<StartDate>2017-10-25</StartDate>
<EndDate>2021-01-01</EndDate>
<ShippingWeight>
<measure>0.0</measure>
<unit>lb</unit>
</ShippingWeight>
<ProductTaxCode>2038356</ProductTaxCode>
</MPOffer>
</MPItem>
<MPItem>
<processMode>CREATE</processMode>
<feedDate>2017-10-25T08:31:34</feedDate>
<sku>888374256120</sku>
<productIdentifiers>
<productIdentifier>
<productIdType>UPC</productIdType>
<productId>xxxx</productId>
</productIdentifier>
</productIdentifiers>
<MPProduct>
<SkuUpdate>No</SkuUpdate>
<msrp>32</msrp>
<ProductIdUpdate>Yes</ProductIdUpdate>
<productName>Free People Women's White Blue Embroidered Camisole Top</productName>
<additionalProductAttributes>
<additionalProductAttribute>
<productAttributeName>clothingSize</productAttributeName>
<productAttributeValue>S</productAttributeValue>
</additionalProductAttribute>
</additionalProductAttributes>
<category>
<ClothingCategory>
<Clothing>
<shortDescription>fdfdm</shortDescription>
<brand>free people</brand>
<manufacturer>free people</manufacturer>
<pieceCount>1</pieceCount>
<mainImageUrl>http://ssm.jpg</mainImageUrl>
<color>White</color>
<pattern>Floral</pattern>
<gender>Female</gender>
<clothingSize>S</clothingSize>
<variantAttributeNames>
<variantAttributeName>clothingSize</variantAttributeName>
</variantAttributeNames>
<variantGroupId>It should be same for all variations</variantGroupId>
<isPrimaryVariant>No</isPrimaryVariant>
<isProp65WarningRequired>No</isProp65WarningRequired>
<clothingTopStyle>Tank</clothingTopStyle>
<dressShirtSize>Tank</dressShirtSize>
<sleeveStyle>Spaghetti Strap</sleeveStyle>
<occasion>Casual</occasion>
<keywords>loose fit,traditional wear,summer,swing,halter,cotton </keywords>
<swatchImages>
<swatchImage>
<swatchVariantAttribute>pattern</swatchVariantAttribute>
<swatchImageUrl>http://ggg.jpg</swatchImageUrl>
</swatchImage>
</swatchImages>
<productSecondaryImageURL>
<productSecondaryImageURLValue>http://vvv.jpg</productSecondaryImageURLValue>
</productSecondaryImageURL>
</Clothing>
</ClothingCategory>
</category>
</MPProduct>
<MPOffer>
<price>32</price>
<StartDate>2017-10-25</StartDate>
<EndDate>2021-01-01</EndDate>
<ShippingWeight>
<measure>0.0</measure>
<unit>lb</unit>
</ShippingWeight>
<ProductTaxCode>2038356</ProductTaxCode>
</MPOffer>
</MPItem>
</MPItemFeed>
3.1
xxxx
xxxxxxxx
2017-10-25T08:31:33
美国沃尔玛
创造
2017-10-25T08:31:34
xxxxxxx
UPC
xxxx
不
32
对
绣花上衣
服装
XS
xxx
自由人
自由人
1.
http://abc.jpg
白色
花的
女性
XS
服装
所有变量都应相同
对
不
坦克
坦克
细吊带
随便的
宽松剪裁、传统服装、夏季、秋千、吊带、棉质
图案
http://abv.jpg
http://xyz.jpg
http://xss.jpg
http://abc.jpg
32
2017-10-25
2021-01-01
0
磅
2038356
创造
2017-10-25T08:31:34
888374256120
UPC
xxxx
不
32
对
Free People女式白蓝色刺绣背心
服装
s
FDM
自由人
自由人
1.
http://ssm.jpg
白色
花的
女性
s
服装
对于所有的变化,它应该是相同的
不
不
坦克
坦克
细吊带
随便的
宽松剪裁、传统服装、夏季、秋千、吊带、棉质
图案
http://ggg.jpg
http://vvv.jpg
32
2017-10-25
2021-01-01
0
磅
2038356
请浏览此链接:
下面是一个示例xml,它可能会帮助您:
<MPItemFeed xsi:schemaLocation="http://walmart.com/MPItem.xsd ">
<MPItemFeedHeader>
<version>3.1</version>
<requestId>xxxx</requestId>
<requestBatchId>xxxxxxxx</requestBatchId>
<feedDate>2017-10-25T08:31:33</feedDate>
<mart>WALMART_US</mart>
</MPItemFeedHeader>
<MPItem>
<processMode>CREATE</processMode>
<feedDate>2017-10-25T08:31:34</feedDate>
<sku>xxxxxxx</sku>
<productIdentifiers>
<productIdentifier>
<productIdType>UPC</productIdType>
<productId>xxxx</productId>
</productIdentifier>
</productIdentifiers>
<MPProduct>
<SkuUpdate>No</SkuUpdate>
<msrp>32</msrp>
<ProductIdUpdate>Yes</ProductIdUpdate>
<productName> Embroidered Top</productName>
<additionalProductAttributes>
<additionalProductAttribute>
<productAttributeName>clothingSize</productAttributeName>
<productAttributeValue>XS</productAttributeValue>
</additionalProductAttribute>
</additionalProductAttributes>
<category>
<ClothingCategory>
<Clothing>
<shortDescription>xxx</shortDescription>
<brand>free people</brand>
<manufacturer>free people</manufacturer>
<pieceCount>1</pieceCount>
<mainImageUrl>http://abc.jpg</mainImageUrl>
<color>White</color>
<pattern>Floral</pattern>
<gender>Female</gender>
<clothingSize>XS</clothingSize>
<variantAttributeNames>
<variantAttributeName>clothingSize</variantAttributeName>
</variantAttributeNames>
<variantGroupId>It should be Same For All Varaiations</variantGroupId>
<isPrimaryVariant>Yes</isPrimaryVariant>
<isProp65WarningRequired>No</isProp65WarningRequired>
<clothingTopStyle>Tank</clothingTopStyle>
<dressShirtSize>Tank</dressShirtSize>
<sleeveStyle>Spaghetti Strap</sleeveStyle>
<occasion>Casual</occasion>
<keywords>loose fit,traditional wear,summer,swing,halter,cotton </keywords>
<swatchImages>
<swatchImage>
<swatchVariantAttribute>pattern</swatchVariantAttribute>
<swatchImageUrl>http://abv.jpg</swatchImageUrl>
</swatchImage>
</swatchImages>
<productSecondaryImageURL>
<productSecondaryImageURLValue>http://xyz.jpg</productSecondaryImageURLValue>
<productSecondaryImageURLValue>http://xss.jpg</productSecondaryImageURLValue>
<productSecondaryImageURLValue>http://abc.jpg</productSecondaryImageURLValue>
</productSecondaryImageURL>
</Clothing>
</ClothingCategory>
</category>
</MPProduct>
<MPOffer>
<price>32</price>
<StartDate>2017-10-25</StartDate>
<EndDate>2021-01-01</EndDate>
<ShippingWeight>
<measure>0.0</measure>
<unit>lb</unit>
</ShippingWeight>
<ProductTaxCode>2038356</ProductTaxCode>
</MPOffer>
</MPItem>
<MPItem>
<processMode>CREATE</processMode>
<feedDate>2017-10-25T08:31:34</feedDate>
<sku>888374256120</sku>
<productIdentifiers>
<productIdentifier>
<productIdType>UPC</productIdType>
<productId>xxxx</productId>
</productIdentifier>
</productIdentifiers>
<MPProduct>
<SkuUpdate>No</SkuUpdate>
<msrp>32</msrp>
<ProductIdUpdate>Yes</ProductIdUpdate>
<productName>Free People Women's White Blue Embroidered Camisole Top</productName>
<additionalProductAttributes>
<additionalProductAttribute>
<productAttributeName>clothingSize</productAttributeName>
<productAttributeValue>S</productAttributeValue>
</additionalProductAttribute>
</additionalProductAttributes>
<category>
<ClothingCategory>
<Clothing>
<shortDescription>fdfdm</shortDescription>
<brand>free people</brand>
<manufacturer>free people</manufacturer>
<pieceCount>1</pieceCount>
<mainImageUrl>http://ssm.jpg</mainImageUrl>
<color>White</color>
<pattern>Floral</pattern>
<gender>Female</gender>
<clothingSize>S</clothingSize>
<variantAttributeNames>
<variantAttributeName>clothingSize</variantAttributeName>
</variantAttributeNames>
<variantGroupId>It should be same for all variations</variantGroupId>
<isPrimaryVariant>No</isPrimaryVariant>
<isProp65WarningRequired>No</isProp65WarningRequired>
<clothingTopStyle>Tank</clothingTopStyle>
<dressShirtSize>Tank</dressShirtSize>
<sleeveStyle>Spaghetti Strap</sleeveStyle>
<occasion>Casual</occasion>
<keywords>loose fit,traditional wear,summer,swing,halter,cotton </keywords>
<swatchImages>
<swatchImage>
<swatchVariantAttribute>pattern</swatchVariantAttribute>
<swatchImageUrl>http://ggg.jpg</swatchImageUrl>
</swatchImage>
</swatchImages>
<productSecondaryImageURL>
<productSecondaryImageURLValue>http://vvv.jpg</productSecondaryImageURLValue>
</productSecondaryImageURL>
</Clothing>
</ClothingCategory>
</category>
</MPProduct>
<MPOffer>
<price>32</price>
<StartDate>2017-10-25</StartDate>
<EndDate>2021-01-01</EndDate>
<ShippingWeight>
<measure>0.0</measure>
<unit>lb</unit>
</ShippingWeight>
<ProductTaxCode>2038356</ProductTaxCode>
</MPOffer>
</MPItem>
</MPItemFeed>
3.1
xxxx
xxxxxxxx
2017-10-25T08:31:33
美国沃尔玛
创造
2017-10-25T08:31:34
xxxxxxx
UPC
xxxx
不
32
对
绣花上衣
服装
XS
xxx
自由人
自由人
1.
http://abc.jpg
白色
花的
女性
XS
服装
所有变量都应相同
对
不
坦克
坦克
细吊带
随便的
宽松剪裁、传统服装、夏季、秋千、吊带、棉质
图案
http://abv.jpg
http://xyz.jpg
http://xss.jpg
http://abc.jpg
32
2017-10-25
2021-01-01
0
磅
2038356
创造
2017-10-25T08:31:34
888374256120
UPC
xxxx
不
32
对
Free People女式白蓝色刺绣