# カタログ用のゲームキーを取得する カタログのゲームキーを取得します。 Endpoint: GET /v2/project/{project_id}/items/game/key/sku/{item_sku} Version: 1.0.0 Security: AuthForClient ## Path parameters: - `project_id` (integer, required) プロジェクトID。 Example: 44056 - `item_sku` (string, required) アイテムSKU。 Example: "booster_mega_1" ## Query parameters: - `locale` (string) 応答言語。ISO639-1に準拠した2文字の小文字の言語コード。 - `additional_fields[]` (array) 追加フィールドのリスト。これらのフィールドは、リクエストで送信した場合、応答に含まれます。利用可能なフィールドmedia_list、order、long_descriptionです。 - `country` (string) カタログの地域別価格と制限を計算するための国。ISO 3166-1 alpha-2に準拠した2文字の大文字の国コードです。国を明示的に指定しない場合は、ユーザーのIPアドレスに基づいて計算されます。 ## Response 200 fields (application/json): - `attributes` (array) アイテムに対応する属性とその値のリスト。カタログのフィルタリングに使用できます。 - `attributes.external_id` (string) 一意の属性ID。external_idには、小文字のラテン英数字、ダッシュ、およびアンダースコアのみを含めることができます。 Example: "attribute_1" - `attributes.name` (string) 属性の名前。 Example: "Genre" - `attributes.values` (array) - `attributes.values.external_id` (string) 属性の一意の値ID。external_idには、小文字のラテン英数字、ダッシュ、およびアンダースコアのみを含めることができます。 Example: "attribute_value" - `attributes.values.value` (string) 属性の値。 Example: "Strategy" - `description` (string) アイテム説明。 Example: "Game description" - `drm_name` (string) DRM名。 Example: "Steam" - `drm_sku` (string) 一意のDRM ID。SKUには、小文字のラテン英数字、ピリオド、ダッシュ、およびアンダースコアのみを含めることができます。 Example: "steam" - `groups` (array) アイテムが属するグループ。 Example: [{"external_id":"all","name":"All games"},{"external_id":"Xsolla","name":"Xsolla games"}] - `groups.external_id` (string) Example: "accessory" - `groups.name` (string) Example: "Accessory" - `has_keys` (boolean) trueの場合、ゲームキーには販売用のキーがあります。 Example: true - `image_url` (string) 画像のURL。 Example: "https://cdn.xsolla.net/img/misc/images/b79342cdf24f0f8557b63c87e8326e62.png" - `is_free` (boolean) trueの場合、アイテムは無料です。 - `is_pre_order` (boolean) trueの場合、ゲームキーは先行予約済みで、リリース日は過ぎていません。 Example: true - `name` (string) アイテム名。 Example: "Game name" - `price` (object) アイテム価格。 - `price.amount` (string) 割引商品価格。 Example: "2.9900" - `price.amount_without_discount` (string) アイテム価格。 Example: "2.9900" - `price.currency` (string) デフォルトの購入通貨。[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217)ごとの3文字のコード。 Example: "USD" - `release_date` (string) ISO8601形式のゲームキーのリリース日。 Example: "2020-08-11T10:00:00+03:00" - `sku` (string) 一意のアイテムID。SKUには、小文字のラテン英数字、ピリオド、ダッシュ、およびアンダースコアのみを含めることができます。 Example: "game_1" - `type` (string) アイテムのタイプ:game_key。 Example: "game_key" - `virtual_prices` (array) 仮想価格。 Example: [] - `virtual_prices.amount` (integer) 仮想通貨での割引アイテム価格。 Example: 100 - `virtual_prices.description` (string) 仮想通貨の説明。 Example: "Big Rocket - description" - `virtual_prices.image_url` (string) 仮想通貨の画像。 Example: "http://image.png" - `virtual_prices.is_default` (boolean) アイテムの価格がデフォルトであるかどうか。 Example: true - `virtual_prices.name` (string) 仮想通貨名。 Example: "SHOTGUN FOR TRUE RAIDERS" - `virtual_prices.sku` (string) 仮想通貨アイテムSKU。 Example: "vc_test" - `virtual_prices.type` (string) 仮想通貨タイプ。 Example: "virtual_currency" ## Response 404 fields (application/json): - `errorCode` (integer) Example: 4001 - `errorMessage` (string) Example: "[0401-4001]: Item with sku = 'game_key_1' not found" - `statusCode` (integer) Example: 404