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

sab*_*ari 5 php amazon amazon-web-services 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>
Run Code Online (Sandbox Code Playgroud)

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

Bal*_*amy 6

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