有没有办法检查ASIN是否已通过亚马逊MWS API合并?

时间:2016-01-06 21:42:42

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

我想知道是否有办法验证ASIN是否已通过API调用与另一个合并。我有几个产品,我创建了一个列出并与现有的ASIN匹配。几周后,ASIN与另一个ASIN合并。当ASIN与另一个ASIN合并时,亚马逊发送并发送电子邮件,但我希望能够检查列表中使用的ASIN是否有效,如果没有看到它已合并的ASIN,那么我可以更新我的列表。当我使用我已经存储在我的列表中的ASIN查询CompetitivePrice / LowestPrice / MyPrice时,该ASIN不再有效,我没有得到该ASIN的任何结果。

以下是ASIN示例:

B00MOHMZO6 http://www.amazon.com/dp/B00MOHMZO6

与B00MBUO68E合并 http://www.amazon.com/dp/B00MBUO68E

点击任一URL即可转到同一页面。

只是一些额外的信息。当我尝试为已合并的ASIN拉出CompetitivePricing时,我得到以下响应,这让我知道它无效。如果ASIN因为与另一个ASIN合并而无效,那么知道它与哪个ASIN合并将会很有用。

    <GetCompetitivePricingForASINResult ASIN="B00MOHMZO6" status="ClientError">
        <Error>
            <Type>Sender</Type>
            <Code>InvalidParameterValue</Code>
            <Message>ASIN B00MOHMZO6 is not valid for marketplace ATVPDKIKX0DER</Message>
        </Error>
    </GetCompetitivePricingForASINResult>

1 个答案:

答案 0 :(得分:1)

找到合并的ASIN的唯一方法是使用亚马逊MWS产品的API调用&#34; GetMyPriceForSKURequest&#34;并且您将获得这些XML响应

<?xml version="1.0"?>
<GetMyPriceForSKUResponse xmlns="http://mws.amazonservices.com/schema/Products/2011-10-01">
  <GetMyPriceForSKUResult SellerSKU="mks-plw-sft-sil-eplgs-valpk-6-x1a" status="Success">
    <Product>
      <Identifiers>
        <MarketplaceASIN>
          <MarketplaceId>A1F83G8C2ARO7P</MarketplaceId>
          <ASIN>B000TC2XLS</ASIN>
        </MarketplaceASIN>
        <SKUIdentifier>
          <MarketplaceId>A1F83G8C2ARO7P</MarketplaceId>
          <SellerId>AAAAAAAAAAAAAA</SellerId>
          <SellerSKU>mks-plw-sft-sil-eplgs-valpk-6-x1a</SellerSKU>
        </SKUIdentifier>
      </Identifiers>
      <Offers>
        <Offer>
          <BuyingPrice>
            <LandedPrice>
              <CurrencyCode>GBP</CurrencyCode>
              <Amount>4.73</Amount>
            </LandedPrice>
            <ListingPrice>
              <CurrencyCode>GBP</CurrencyCode>
              <Amount>4.73</Amount>
            </ListingPrice>
            <Shipping>
              <CurrencyCode>GBP</CurrencyCode>
              <Amount>0.00</Amount>
            </Shipping>
          </BuyingPrice>
          <RegularPrice>
            <CurrencyCode>GBP</CurrencyCode>
            <Amount>4.73</Amount>
          </RegularPrice>
          <FulfillmentChannel>MERCHANT</FulfillmentChannel>
          <ItemCondition>New</ItemCondition>
          <ItemSubCondition>New</ItemSubCondition>
          <SellerId>AAAAAAAAAAAAAAA</SellerId>
          <SellerSKU>mks-plw-sft-sil-eplgs-valpk-6-x1a</SellerSKU>
        </Offer>
        <Offer>
          <BuyingPrice>
            <LandedPrice>
              <CurrencyCode>GBP</CurrencyCode>
              <Amount>5.13</Amount>
            </LandedPrice>
            <ListingPrice>
              <CurrencyCode>GBP</CurrencyCode>
              <Amount>5.13</Amount>
            </ListingPrice>
            <Shipping>
              <CurrencyCode>GBP</CurrencyCode>
              <Amount>0.00</Amount>
            </Shipping>
          </BuyingPrice>
          <RegularPrice>
            <CurrencyCode>GBP</CurrencyCode>
            <Amount>5.13</Amount>
          </RegularPrice>
          <FulfillmentChannel>AMAZON</FulfillmentChannel>
          <ItemCondition>New</ItemCondition>
          <ItemSubCondition>New</ItemSubCondition>
          <SellerId>AAAAAAAAAAAAAAAAAAA</SellerId>
          <SellerSKU>fba-mks-plw-sft-sil-eplgs-valpk-6-x1a</SellerSKU>
        </Offer>
      </Offers>
    </Product>
  </GetMyPriceForSKUResult>
  <ResponseMetadata>
    <RequestId>6a6044a3-5cdd-4600-b310-02233924bc64</RequestId>
  </ResponseMetadata>
</GetMyPriceForSKUResponse>

你可以从Product-&gt; Identifiers-&gt; MarketplaceASIN-&gt; ASIN XML元素获取ASIN,它始终是亚马逊上最新的ASIN,如果它们相同,你可以检查你的ASIN。