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

标签 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 引用中的这段代码。

最佳答案

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

关于php - 使用亚马逊 MWS 将产品添加到亚马逊卖家中心时如何添加价格和数量详细信息?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/14496101/

相关文章:

php - 在 php 中传递 MySql 连接

amazon-web-services - Amazon S3 + CloudFront 查询特定版本的存储文件

deployment - 使用EC2可用区的最佳实践是什么?

amazon-web-services - 我们如何通过 AWS 创建地理定位 :cloudfromation template?

protocols - kindle 用什么协议(protocol)给家里打电话?

php - getElementById().value 什么都不返回

php - 图像插入数据库并显示使用 php 和 mysql 不起作用

php - 将每个类别获取的结果数量限制为仅 4 个,而不是显示 "See More Results"

ssl - 在 Amazon CloudFront 上通过 HTTPS 提供静态内容

amazon-web-services - 使用 docker-compose 在 ECS 中出现 ecs-searchdomain-sidecar 的问题