将产品添加到亚马逊卖家中心时如何添加价格和数量详细信息使用亚马逊MWS?

时间:2013-01-24 07:36:24

标签: php amazon-web-services amazon amazon-mws

我正在使用亚马逊MWS Feeds API将产品添加到亚马逊卖家中央商店。当我使用亚马逊的Feeds API Section Reference中的一个例子时,产品没有价格就添加到商店。我已添加以下代码,用于将产品添加到亚马逊卖家中央商店。

<?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>TEST1234</SKU>
        <StandardProductID>
          <Type>ASIN</Type>
          <Value>B0EXAMPLEG</Value>
        </StandardProductID>
        <ProductTaxCode>A_GEN_NOTAX</ProductTaxCode>
        <DescriptionData>
          <Title>Example Product Title</Title>
          <Brand>Example Product Brand</Brand>
          <Description>This is an example product description.</Description>
          <MSRP currency="USD">25.19</MSRP>
          <Manufacturer>Example Product Manufacturer</Manufacturer>
          <ItemType>example-item-type</ItemType>
        </DescriptionData>
        <ProductData>
          <Health>
            <ProductType>
              <HealthMisc>
                <Ingredients>Example Ingredients</Ingredients>
                <Directions>Example Directions</Directions>
              </HealthMisc>
            </ProductType>
          </Health>
        </ProductData>
    </Product>
  </Message>
</AmazonEnvelope>

有没有人知道这个问题并告诉我如何修复它以及如何在上面的代码中添加数量?  我使用了来自Amazon Feed API参考的代码。

1 个答案:

答案 0 :(得分:4)

您需要为产品,价格,库存等提交不同的xml文件和Feed类型。您无法在xml文件中一起发送此信息以上传产品。但是,如果您使用excel电子表格,则可以将所有这些信息发送到一个文件中。你可以参考这个来了解电子表格上传。 http://www.amazon.com/gp/help/customer/display.html?nodeId=200203300