Amazon Services Japan
Amazonマーケットプレイス Web サービス (Amazon 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.

Amazon MWS ドキュメント

GetProductCategoriesForSKU

SellerSKUに応じた、商品の親カテゴリーを返します。

説明

GetProductCategoriesForSKUオペレーションは、マーケットプレイスのルートまでさかのぼった親カテゴリーも含め、商品が属するカテゴリーの名前とIDを返します。

利用可否

このオペレーションはすべてのマーケットプレイスで利用できます。

スロットリング

最大リクエストクォータ 回復レート 時間あたりのリクエストクォータ
20リクエスト 5秒あたり1回のリクエスト 1時間あたり720リクエスト
このクォータと回復レートはGetProductCategoriesForASINと共有されます。 スロットリング用語の定義およびスロットリングの詳しい説明については、Amazon MWS開発者ガイドスロットリング:リクエストの送信頻度を制限するを参照してください。商品ごとのスロットリングの詳細については、商品APIのスロットリングを参照してください。

リクエストパラメーター

すべてのAmazon MWSオペレーションに必須とされるリクエストパラメータについて詳しくは、Amazon MWS開発者ガイド必須のリクエストパラメーターを参照してください。

名前 説明 必須 有効値
MarketplaceId マーケットプレイスID。カテゴリー構造を取得するマーケットプレイスを指定。

タイプ:xs:string

はい MarketplaceId値の一覧については、Amazon MWS開発者ガイドAmazon MWSエンドポイントとMarketplaceId値を参照してください。
SellerSKU 指定したマーケットプレイスにある商品を識別するために使用。SellerSKUは出品者のSellerIdにより限定されます。SellerIdは、送信する各AmazonマーケットプレイスWebサービス(Amazon MWS)オペレーションに含まれます。

タイプ: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>

AWSAccessKeyId=AKIAEXAMPLEFWR4TJ7ZQ
&Action=GetProductCategoriesForSKU
&MWSAuthToken=amzn.mws.4ea38b7b-f563-7709-4bae-87aeaEXAMPLE
&MarketplaceId=ATVPDKIKX0DER
&SellerId=A1IMEXAMPLEWRC
&SellerSKU=SKU2468
&SignatureMethod=HmacSHA256
&SignatureVersion=2
&Timestamp=2012-12-04T22%3A48%3A25Z
&Version=2011-10-01
&Signature=nLBMEXAMPLE6ASMKD1YTcNk7E8vW6Qzha8cEXAMPLEY%3D

↑ トップへ戻る

レスポンス例

標準のレスポンスフォーマットについて詳しくは、レスポンスフォーマットを参照してください。

サンプルを表示するサンプルを隠す

<?xml version="1.0"?>
<GetProductCategoriesForSKUResponse
    xmlns="http://mws.amazonservices.com/schema/Products/2011-10-01">
    <GetProductCategoriesForSKUResult>
        <Self>
            <ProductCategoryId>271578011</ProductCategoryId>
            <ProductCategoryName>Project Management</ProductCategoryName>
            <Parent>
                <ProductCategoryId>2675</ProductCategoryId>
                <ProductCategoryName>Management &#x26; Leadership</ProductCategoryName>
                <Parent>
                    <ProductCategoryId>3</ProductCategoryId>
                    <ProductCategoryName>Business &#x26; Investing</ProductCategoryName>
                    <Parent>
                        <ProductCategoryId>1000</ProductCategoryId>
                        <ProductCategoryName>Subjects</ProductCategoryName>
                        <Parent>
                            <ProductCategoryId>283155</ProductCategoryId>
                            <ProductCategoryName>Subjects</ProductCategoryName>
                        </Parent>
                    </Parent>
                </Parent>
            </Parent>
        </Self>
        <Self>
            <ProductCategoryId>684248011</ProductCategoryId>
            <ProductCategoryName>Management</ProductCategoryName>
            <Parent>
                <ProductCategoryId>468220</ProductCategoryId>
                <ProductCategoryName>Business &#x26; Finance</ProductCategoryName>
                <Parent>
                    <ProductCategoryId>465600</ProductCategoryId>
                    <ProductCategoryName>New, Used &#x26; Rental Textbooks</ProductCategoryName>
                    <Parent>
                        <ProductCategoryId>2349030011</ProductCategoryId>
                        <ProductCategoryName>Specialty Boutique</ProductCategoryName>
                        <Parent>
                            <ProductCategoryId>283155</ProductCategoryId>
                            <ProductCategoryName>Specialty Boutique</ProductCategoryName>
                        </Parent>
                    </Parent>
                </Parent>
            </Parent>
        </Self>
    </GetProductCategoriesForSKUResult>
    <ResponseMetadata>
        <RequestId>e058aabd-b4c3-48ba-9bfa-EXAMPLE9a267</RequestId>
    </ResponseMetadata>
</GetProductCategoriesForSKUResponse>

↑ トップへ戻る