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.
ASINに応じた、商品の親カテゴリーを返します。
GetProductCategoriesForASINオペレーションは、商品を一意に識別するためにMarketplaceIdとASINを指定する点を除き、GetProductCategoriesForSKUオペレーションと同様です。
このオペレーションはすべてのマーケットプレイスで利用できます。
最大リクエストクォータ | 回復レート | 時間あたりのリクエストクォータ |
---|---|---|
20リクエスト | 5秒あたり1回のリクエスト | 1時間あたり720リクエスト |
すべてのAmazon MWSオペレーションに必須とされるリクエストパラメータについて詳しくは、Amazon MWS開発者ガイドの必須のリクエストパラメーターを参照してください。
名前 | 説明 | 必須 | 有効値 |
---|---|---|---|
MarketplaceId | マーケットプレイスID。カテゴリー構造を取得するマーケットプレイスを指定。 タイプ:xs:string |
はい | MarketplaceId値の一覧については、Amazon MWS開発者ガイドのAmazon MWSエンドポイントとMarketplaceId値を参照してください。 |
ASIN | マーケットプレイス上の商品ID。 タイプ:xs:string |
はい |
名前 | 説明 |
---|---|
Self | 送信した商品のProductCategoryIdを含む。また、マーケットプレイスのルートカテゴリーまでさかのぼって親カテゴリーのProductCategoryIdも含まれます。 |
ProductCategoryId | 商品カテゴリー(またはブラウズノード)のID。 |
ProductCategoryName | 商品カテゴリー(またはブラウズノード)の名前。 |
標準のリクエスト要件について詳しくは、必須のリクエストパラメーターを参照してください。
POST /Products/2011-10-01 HTTP/1.1 Content-Type: x-www-form-urlencoded Host: mws.amazonservices.com User-Agent: <Your User Agent Header> ASIN=B002KT3XQM &AWSAccessKeyId=AKIAEXAMPLEFWR4TJ7ZQ &Action=GetProductCategoriesForASIN &MWSAuthToken=amzn.mws.4ea38b7b-f563-7709-4bae-87aeaEXAMPLE &MarketplaceId=ATVPDKIKX0DER &SellerId=A1IMEXAMPLEWRC &SignatureMethod=HmacSHA256 &SignatureVersion=2 &Timestamp=2012-12-04T22%3A51%3A51Z &Version=2011-10-01 &Signature=%2BIEXAMPLE%2FvjuBYraHxZawj6F63rOVHx4PNEXAMPLEs%3D
標準のレスポンスフォーマットについて詳しくは、レスポンスフォーマットを参照してください。
<?xml version="1.0"?> <GetProductCategoriesForASINResponse xmlns="http://mws.amazonservices.com/schema/Products/2011-10-01"> <GetProductCategoriesForASINResult> <Self> <ProductCategoryId>2420095011</ProductCategoryId> <ProductCategoryName>Compression Shorts</ProductCategoryName> <Parent> <ProductCategoryId>2419332011</ProductCategoryId> <ProductCategoryName>Men</ProductCategoryName> <Parent> <ProductCategoryId>2371051011</ProductCategoryId> <ProductCategoryName>Clothing</ProductCategoryName> <Parent> <ProductCategoryId>3403201</ProductCategoryId> <ProductCategoryName>Bikes & Accessories</ProductCategoryName> <Parent> <ProductCategoryId>2232464011</ProductCategoryId> <ProductCategoryName>Bikes & Scooters</ProductCategoryName> <Parent> <ProductCategoryId>3375301</ProductCategoryId> <ProductCategoryName>Categories</ProductCategoryName> <Parent> <ProductCategoryId>3375251</ProductCategoryId> <ProductCategoryName>Categories</ProductCategoryName> </Parent> </Parent> </Parent> </Parent> </Parent> </Parent> </Self> </GetProductCategoriesForASINResult> <ResponseMetadata> <RequestId>fbce5b62-67cc-4ab8-86f3-EXAMPLE22e4e</RequestId> </ResponseMetadata> </GetProductCategoriesForASINResponse>