首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何在Amazon中指定SellerWarrantyDescription?

如何在Amazon中指定SellerWarrantyDescription?
EN

Stack Overflow用户
提问于 2014-10-13 17:34:16
回答 1查看 297关注 0票数 0

我将产品饲料,价格饲料,图像饲料和库存饲料成功地发送到亚马逊,除了保修信息以外的所有领域。现在,我不得不发送SellerWarrantyDescription字段,我不知道该如何在xml上指定这个字段并将其发送到Amazon。我从这个Amazon文档链接和亚马逊论坛上找到了我需要的大部分信息。

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2014-10-13 21:04:09

我已经找到了解决办法。保修信息已经通过,如下所示。

代码语言:javascript
复制
<?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很重要,否则它就无法工作。尽管下面的元素是空的,但是在传递保证元素之前它们是必需的。

代码语言:javascript
复制
             <ProductType>
                 <ComputerComponent></ComputerComponent>
             </ProductType>
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/26345661

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档