亚马逊MWS提交价格设置Feed

时间:2012-07-28 16:18:11

标签: php xml api amazon amazon-mws

我一直在看文档,想知道如何提交XML Feed,这样做就像更改库存项目的价格一样简单

我一直在查看他们提供的示例XML Feed,如第15页所示link,因为这是我发现的唯一一个例子,我不知道如何插入或编辑我的卖家库存中的产品。任何人都可以给我任何提示

示例

POST /?Marketplace=ATVExampleDER
  & Action=SubmitFeed
  &Merchant=A1XExample5E6
  &FeedType=_POST_PRODUCT_DATA_
  &AWSAccessKeyId=0PB842ExampleN4ZTR2
  &Version=2009-01-01
  &Signature=SvSExamplefZpSignaturex2cs%3D
  &SignatureVersion=2
  &SignatureMethod=HmacSHA256
  &Timestamp=2009-01-26T23%3A51%3A31.315Z HTTP/1.1
Content-Type: text/xml; charset=iso-8859-1
Content-MD5: ExampleMd5HashOfHttpBodyAsPerRfc2616Example
User-Agent: MWSTestsuite/2009-03-05 (Language=Java/1.6.0_11/50.0/
Sun Microsystems Inc.; Platform=Linux/i386/2.4.21-50a6smp;
MWSClientVersion=2009-03-09)
Host: mws.amazonservices.com
Transfer-Encoding: chunked 

FeedContent

<?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>56789</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>
          <BulletPoint>Example Bullet Point 1</BulletPoint>
          <BulletPoint>Example Bullet Point 2</BulletPoint>
          <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>

1 个答案:

答案 0 :(得分:10)

查看Guide to XML.它可以更好地了解在亚马逊上列出产品所需的步骤。

您基本上会首先提交产品Feed,它会提供有关产品的所有常规信息,并在您的广告资源中创建部分列表。然后发布库存Feed,它将设置您可用的数量。最后,价格饲料,设定价格。对产品执行此操作一次后,您只需上传数量或价格Feed,具体取决于需要更改的那个。

相关问题