Amazon Services China
亚马逊商城网络服务(亚马逊 MWS)文档

Deprecation Notice:

Amazon Marketplace Web Service (MWS) will no longer be available after March 31, 2024. All MWS developers must migrate to Selling Partner API (SP-API) to avoid service disruptions. Refer to the Migration Hub for more information.

亚马逊 MWS 文档

GetCompetitivePricingForASIN

根据 ASIN,返回商品的当前有竞争力的价格。

描述

GetCompetitivePricingForASIN 操作与 GetCompetitivePricingForSKU 操作大体相同,但前者使用 MarketplaceIdASIN 来唯一标识一件商品,且不会返回 SKUIdentifier 元素。如果您没有商品的 ASIN,必须先提交 ListMatchingProducts 操作,以避免歧义。

请求参数

名称 描述 必填项
MarketplaceId

商城编码。指定返回价格的商城。

类型:xs:string

ASINList

一个 ASIN 值的结构化列表。用于标识指定商城中的商品。

最大值:20 个 ASIN

响应元素

GetCompetitivePricingForASIN 操作返回的响应元素与 GetCompetitivePricingForSKU 操作的“响应元素”部分中描述的响应元素相同,但前者不返回 SKUIdentifier 元素。

示例

查询请求示例

https://mws.amazonservices.com/Products/2011-10-01
?AWSAccessKeyId=AKIAEXAMPLEFWR4TJ7ZQ
&Action=GetCompetitivePricingForASIN
&MWSAuthToken=amzn.mws.4ea38b7b-f563-7709-4bae-87aeaEXAMPLE
&SellerId=A1IMEXAMPLEWRC
&SignatureVersion=2
&Timestamp=2012-12-04T21%3A23%3A31Z
&Version=2011-10-01
&Signature=V1uTEXAMPLE8HVCfobAqQDKzylYyTRWfv3X4SEXAMPLEY%3D
&SignatureMethod=HmacSHA256
&MarketplaceId=ATVPDKIKX0DER
&ASINList.ASIN.1=B002KT3XQM

响应示例

<?xml version="1.0"?>
<GetCompetitivePricingForASINResponse xmlns="http://mws.amazonservices.com/schema/Products/2011-10-01">
<GetCompetitivePricingForASINResult ASIN="B002KT3XQM" status="Success">
  <Product xmlns="http://mws.amazonservices.com/schema/Products/2011-10-01"
           xmlns:ns2="http://mws.amazonservices.com/schema/Products/2011-10-01/default.xsd">
    <Identifiers>
      <MarketplaceASIN>
        <MarketplaceId>ATVPDKIKX0DER</MarketplaceId>
        <ASIN>B002KT3XQM</ASIN>
      </MarketplaceASIN>
    </Identifiers>
    <CompetitivePricing>
      <CompetitivePrices>
        <CompetitivePrice belongsToRequester="false" condition="New" subcondition="New">
          <CompetitivePriceId>1</CompetitivePriceId>
          <Price>
            <LandedPrice>
              <CurrencyCode>USD</CurrencyCode>
              <Amount>34.27</Amount>
            </LandedPrice>
            <ListingPrice>
              <CurrencyCode>USD</CurrencyCode>
              <Amount>34.27</Amount>
            </ListingPrice>
            <Shipping>
              <CurrencyCode>USD</CurrencyCode>
              <Amount>0.00</Amount>
            </Shipping>
          </Price>
        </CompetitivePrice>
      </CompetitivePrices>
      <NumberOfOfferListings>
        <OfferListingCount condition="Any">11</OfferListingCount>
        <OfferListingCount condition="Used">1</OfferListingCount>
        <OfferListingCount condition="New">10</OfferListingCount>
      </NumberOfOfferListings>
    </CompetitivePricing>
    <SalesRankings/>
  </Product>
</GetCompetitivePricingForASINResult>
<ResponseMetadata>
  <RequestId>a8ec20c3-fc88-46e3-a128-EXAMPLE3fcdf</RequestId>
</ResponseMetadata>
</GetCompetitivePricingForASINResponse>