【问题标题】:How to delete product from inventory on Amazon via mws api如何通过 mws api 从亚马逊库存中删除产品
【发布时间】:2018-03-08 06:45:27
【问题描述】:

我正在使用亚马逊 MWS 的客户端库来检索有竞争力的价格信息等。但我希望能够删除产品,或者通过 api 从我的库存中删除它们。我无法在文档中或通过谷歌找到如何做到这一点。

在此处找不到提及http://docs.developer.amazonservices.com/en_US/dev_guide/index.html 如何删除产品列表。

我确实找到了这个 SO 帖子 Amazon api not deleting my products from inventory,但它似乎过时了,我在文档中找不到相应的部分

    <OperationType>Delete</OperationType>

任何线索表示赞赏。谢谢,迈克。

【问题讨论】:

    标签: amazon-mws


    【解决方案1】:

    您需要使用 Feed API 并提交删除请求。这就是两个 skus 的身体外观。

    <?xml version="1.0" encoding="UTF-8"?>
    <AmazonEnvelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="amzn-envelope.xsd">
      <Header>
        <DocumentVersion>1.01</DocumentVersion>
        <MerchantIdentifier>YOUR-MERCHANT-IDENTIFIER-GOES-HERE</MerchantIdentifier>
      </Header>
      <MessageType>Product</MessageType>
      <Message>
        <MessageID>1</MessageID>
        <OperationType>Delete</OperationType>
        <Product>
          <SKU>YOUR-FIRST-SKU-GOES-HERE</SKU>
        </Product>
      </Message>
      <Message>
        <MessageID>2</MessageID>
        <OperationType>Delete</OperationType>
        <Product>
          <SKU>YOUR-SECOND-SKU-GOES-HERE</SKU>
        </Product>
      </Message>
    </AmazonEnvelope>
    

    【讨论】:

      猜你喜欢
      • 2018-06-04
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-01-12
      • 1970-01-01
      • 1970-01-01
      • 2013-07-22
      相关资源
      最近更新 更多