我将产品饲料,价格饲料,图像饲料和库存饲料成功地发送到亚马逊,除了保修信息以外的所有领域。现在,我不得不发送SellerWarrantyDescription字段,我不知道该如何在xml上指定这个字段并将其发送到Amazon。我从这个Amazon文档链接和亚马逊论坛上找到了我需要的大部分信息。
发布于 2014-10-13 21:04:09
我已经找到了解决办法。保修信息已经通过,如下所示。
<?xml version="1.0" encoding="iso-8859-1"?>
<AmazonEnvelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="amzn-envelope.xsd">
<Header>
<DocumentVersion>1.01</DocumentVersion>
<MerchantIdentifier>M_EXAMPLE_123456</MerchantIdentifier>
</Header>
<MessageType>Product</MessageType>
<PurgeAndReplace>false</PurgeAndReplace>
<Message>
<MessageID>1</MessageID>
<OperationType>Update</OperationType>
<Product>
<SKU>34L9195-new</SKU>
<StandardProductID>
<Type>ASIN</Type>
<Value>B003GDHZTM</Value>
</StandardProductID>
<ProductTaxCode>A_GEN_NOTAX</ProductTaxCode>
<Condition>
<ConditionType>New</ConditionType>
</Condition>
<DescriptionData>
<Title>IBM 34L9195 9GB 10K 80PIN HARD DRIVE</Title>
<Brand>IBM</Brand>
<Description>IBM 34L9195 9GB 10K 80PIN HARD DRIVE</Description>
<BulletPoint>Covered by comprehensive warranty</BulletPoint>
<BulletPoint>Ships fast</BulletPoint>
<BulletPoint>Refurbished by certified technicians</BulletPoint>
<ShippingWeight unitOfMeasure="LB">5</ShippingWeight>
<Manufacturer>IBM</Manufacturer>
<MfrPartNumber>34L9195</MfrPartNumber>
<ItemType>Computer-Accessories</ItemType>
</DescriptionData>
<ProductData>
<Computers>
<ProductType>
<ComputerComponent></ComputerComponent>
</ProductType>
<SellerWarrantyDescription>**This is the field I was looking for**</SellerWarrantyDescription>
</Computers>
</ProductData>
</Product>
</Message>
</AmazonEnvelope>XML元素的顺序对于Amazon很重要,否则它就无法工作。尽管下面的元素是空的,但是在传递保证元素之前它们是必需的。
<ProductType>
<ComputerComponent></ComputerComponent>
</ProductType>https://stackoverflow.com/questions/26345661
复制相似问题