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

GetMatchingProduct

根据 ASIN 值列表,返回商品及其属性列表。

描述

根据您指定的 ASIN 值列表,GetMatchingProduct 操作会返回一个包含商品及其属性的列表。此操作最多会返回十件商品。

重要说明:新的 GetMatchingProductForId 操作具备GetMatchingProduct 操作的所有功能。为了实现向后兼容性,商品 API 部分包含了 GetMatchingProduct 操作,但是您应尽可能使用 GetMatchingProductForId 操作来代替 GetMatchingProduct 操作。有关更多信息,请参阅 GetMatchingProductForId

请求参数

名称 描述 必填项
MarketplaceId

商城编码。指定返回商品的商城。

类型:xs:string

ASINList

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

最大值:10 个 ASIN

响应元素

GetMatchingProduct 操作返回的响应元素与 ListMatchingProducts 的“响应元素”部分中描述的响应元素相同,但前者只对 ASINList 中的每个 ASIN 返回一个 Product

示例

查询请求示例

https://mws.amazonservices.com/Products/2011-10-01
?AWSAccessKeyId=AKIAEXAMPLEFWR4TJ7ZQ
&Action=GetMatchingProduct
&MWSAuthToken=amzn.mws.4ea38b7b-f563-7709-4bae-87aeaEXAMPLE
&SellerId=A1IMEXAMPLEWRC
&SignatureVersion=2
&Timestamp=2012-12-04T21%3A01%3A53Z
&Version=2011-10-01
&Signature=5O%2EXAMPLEtpSD0NbC%2FltDxXuLe2TXAd%2B48AEXAMPLE0%3D
&SignatureMethod=HmacSHA256
&MarketplaceId=ATVPDKIKX0DER
&ASINList.ASIN.1=B002KT3XRQ

响应示例

<?xml version="1.0"?>
<GetMatchingProductResponse xmlns="http://mws.amazonservices.com/schema/Products/2011-10-01">
<GetMatchingProductResult ASIN="B002KT3XRQ" 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>B002KT3XRQ</ASIN>
      </MarketplaceASIN>
    </Identifiers>
    <AttributeSets>
      <ns2:ItemAttributes xml:lang="en-US">
        <ns2:Binding>Apparel</ns2:Binding>
        <ns2:Brand>Pearl iZUMi</ns2:Brand>
        <ns2:Department>mens</ns2:Department>
        <ns2:Feature>Select transfer fabric sets the benchmark for moisture transfer and four-way performance stretch</ns2:Feature>
        <ns2:Feature>6-Panel anatomic design for superior, chafe-free comfort, UPF 50+ sun protection</ns2:Feature>
        <ns2:Feature>Comfortable silicone leg grippers keep shorts in place, moisture-wicking, antimicrobial properties</ns2:Feature>
        <ns2:Feature>Tour 3D Chamois is male-specific and non-chafing with padding in key areas</ns2:Feature>
        <ns2:Feature>86 percent nylon, 14% spandex, 9-Inch inseam</ns2:Feature>
        <ns2:ItemDimensions>
          <ns2:Height Units="inches">2.00</ns2:Height>
          <ns2:Length Units="inches">9.00</ns2:Length>
          <ns2:Width Units="inches">9.00</ns2:Width>
        </ns2:ItemDimensions>
        <ns2:Label>Pearl iZUMi</ns2:Label>
        <ns2:ListPrice>
          <ns2:Amount>50.00</ns2:Amount>
          <ns2:CurrencyCode>USD</ns2:CurrencyCode>
        </ns2:ListPrice>
        <ns2:Manufacturer>Pearl iZUMi</ns2:Manufacturer>
        <ns2:Model>0275</ns2:Model>
        <ns2:PackageDimensions>
          <ns2:Height Units="inches">2.80</ns2:Height>
          <ns2:Length Units="inches">9.75</ns2:Length>
          <ns2:Width Units="inches">8.40</ns2:Width>
          <ns2:Weight Units="pounds">0.40</ns2:Weight>
        </ns2:PackageDimensions>
        <ns2:PackageQuantity>1</ns2:PackageQuantity>
        <ns2:PartNumber>0275</ns2:PartNumber>
        <ns2:ProductGroup>Apparel</ns2:ProductGroup>
        <ns2:ProductTypeName>SHORTS</ns2:ProductTypeName>
        <ns2:Publisher>Pearl iZUMi</ns2:Publisher>
        <ns2:SmallImage>
          <ns2:URL>http://ecx.images-amazon.com/images/I/41ty3Sn%2BU8L._SL75_.jpg</ns2:URL>
          <ns2:Height Units="pixels">75</ns2:Height>
          <ns2:Width Units="pixels">58</ns2:Width>
        </ns2:SmallImage>
        <ns2:Studio>Pearl iZUMi</ns2:Studio>
        <ns2:Title>Pearl iZUMi Men's Quest Cycling Short</ns2:Title>
      </ns2:ItemAttributes>
    </AttributeSets>
    <Relationships>
      <ns2:VariationChild>
        <Identifiers>
          <MarketplaceASIN>
            <MarketplaceId>ATVPDKIKX0DER</MarketplaceId>
            <ASIN>B002KT3XQC</ASIN>
          </MarketplaceASIN>
        </Identifiers>
        <ns2:Color>Black</ns2:Color>
        <ns2:Size>Small</ns2:Size>
      </ns2:VariationChild>
      <ns2:VariationChild>
        <Identifiers>
          <MarketplaceASIN>
            <MarketplaceId>ATVPDKIKX0DER</MarketplaceId>
            <ASIN>B002KT3XQW</ASIN>
          </MarketplaceASIN>
        </Identifiers>
        <ns2:Color>Black</ns2:Color>
        <ns2:Size>Medium</ns2:Size>
      </ns2:VariationChild>
      <ns2:VariationChild>
        <Identifiers>
          <MarketplaceASIN>
            <MarketplaceId>ATVPDKIKX0DER</MarketplaceId>
            <ASIN>B002KT3XQM</ASIN>
          </MarketplaceASIN>
        </Identifiers>
        <ns2:Color>Black</ns2:Color>
        <ns2:Size>Large</ns2:Size>
      </ns2:VariationChild>
      <ns2:VariationChild>
        <Identifiers>
          <MarketplaceASIN>
            <MarketplaceId>ATVPDKIKX0DER</MarketplaceId>
            <ASIN>B002KT3XR6</ASIN>
          </MarketplaceASIN>
        </Identifiers>
        <ns2:Color>Black</ns2:Color>
        <ns2:Size>X-Large</ns2:Size>
      </ns2:VariationChild>
      <ns2:VariationChild>
        <Identifiers>
          <MarketplaceASIN>
            <MarketplaceId>ATVPDKIKX0DER</MarketplaceId>
            <ASIN>B002KT3XRG</ASIN>
          </MarketplaceASIN>
        </Identifiers>
        <ns2:Color>Black</ns2:Color>
        <ns2:Size>XX-Large</ns2:Size>
      </ns2:VariationChild>
    </Relationships>
    <SalesRankings>
      <SalesRank>
        <ProductCategoryId>apparel_display_on_website</ProductCategoryId>
        <Rank>159</Rank>
      </SalesRank>
      <SalesRank>
        <ProductCategoryId>2420095011</ProductCategoryId>
        <Rank>1</Rank>
      </SalesRank>
      <SalesRank>
        <ProductCategoryId>2611189011</ProductCategoryId>
        <Rank>4</Rank>
      </SalesRank>
    </SalesRankings>
  </Product>
</GetMatchingProductResult>
<ResponseMetadata>
  <RequestId>b12caada-d330-4d87-a789-EXAMPLE35872</RequestId>
</ResponseMetadata>
</GetMatchingProductResponse>