# 指定されたバンドルを取得する 指定されたバンドルを取得します。 注このエンドポイントは認証なしでアクセスでき、一般的なデータを返します。しかし、認証は、利用可能なユーザー制限やプロモーションのような、パーソナライズされた結果のためのユーザー固有の詳細で応答の質を高めます。 Endpoint: GET /v2/project/{project_id}/items/bundle/sku/{sku} Version: 2.0.0 Security: XsollaLoginUserJWT ## Path parameters: - `project_id` (integer, required) プロジェクトID。このパラメータは、パブリッシャーアカウントのプロジェクト名の横にあります。 Example: 44056 - `sku` (string, required) バンドルSKU。 Example: "kg_1" ## Query parameters: - `promo_code` (string) 大文字と小文字を区別する一意のコードです。文字と数字が含まれます。 Example: "WINTER2021" - `show_inactive_time_limited_items` (integer) ユーザーに利用可能でない、期限付きアイテムを表示します。このようなアイテムの有効期間はまだ開始されていないか、すでに期限切れです。 Example: 1 - `additional_fields[]` (array) 追加フィールドのリスト。これらのフィールドは、リクエストの中で送信すると、応答に含まれます。 Enum: "media_list", "order", "long_description", "custom_attributes", "item_order_in_group" ## Response 200 fields (application/json): - `attributes` (array) アイテムに対応する属性と値のリスト。カタログのフィルタリングに使用できます。 Example: {"value":{"external_id":"genre","name":"Жанр","values":[{"external_id":"genre_e3364991f92e751689a68b96598a5a5a84010b85","value":"Casual"},{"external_id":"genre_eba07bfd0f982940773cba3744d97264dd58acd7","value":"Strategy"},{"external_id":"genre_b8d0c6d8f0524c2b2d79ebb93aa3cd0e8b5199a8","value":"Mobile"}]}} - `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" - `bundle_type` (string) バンドルタイプ。standardを使用してアイテムのバンドルを作成し、バンドルに含まれるアイテムの SKU を指定します。 partner_side_contentを使用して空のバンドルを作成し、[ウェブフック](https://developers.xsolla.com/ja/ja/webhooks/operation/personalized-partner-catalog/)を使用してユーザー側でアイテムを追加します。このタイプは、[パートナー側でのカタログ個人用設定](https://developers.xsolla.com/ja/doc/shop-builder/features/personalization/#guides_personalization_on_partner_side)でのみ使用されます。 Enum: "standard", "partner_side_content" - `can_be_bought` (boolean) trueの場合、ユーザーはアイテムを購入することができます。 Example: true - `content` (array) バンドルパッケージのコンテンツ。 Example: [{"attributes":[],"description":"Big Rocket - short description.","groups":[],"image_url":"https://popmedia.blob.core.windows.net/popyourself/male/outfit/male_armor_white_a-01.png","is_free":false,"name":"Big Rocket","price":{"amount":"10.99","amount_without_discount":"10.99","currency":"USD"},"quantity":100,"sku":"com.xsolla.big_rocket_1","type":"virtual_currency"}] - `content.description` (string) アイテムの説明。 Example: "Big Rocket - description" - `content.groups` (array) アイテムが所属するグループ。 Example: [{"external_id":"horror","name":{"en":"Horror"}}] - `content.groups.external_id` (string) Example: "horror" - `content.groups.name` (object) アイテム名。キーと値のペアを含める必要があり、 キーは "^[a-z]" 書式のロケール{2}で、値は文字列です。 Example: {"de":"Horror","en":"Horror"} - `content.image_url` (string) 画像URL。 Example: "https://popmedia.blob.core.windows.net/popyourself/male/outfit/male_armor_white_a-01.png" - `content.is_free` (boolean) trueの場合で、アイテムは無料です。 - `content.limits` (object,null) アイテム制限。 - `content.limits.per_item` (object,null) アイテムのアイテム制限。 - `content.limits.per_item.available` (integer) すべてのユーザーが購入できるアイテムの残り数。 Example: 3 - `content.limits.per_item.total` (integer) すべてのユーザーが購入できるアイテムの最大数。 Example: 5 - `content.limits.per_user` (object,null) ユーザーのアイテム制限。 - `content.limits.per_user.available` (integer) 現在のユーザーが購入できるアイテムの残り数。 Example: 3 - `content.limits.per_user.limit_exceeded_visibility` (string) 購入制限に達してから次回の制限リセットまでの間、カタログ内でのアイテムの表示・非表示を決定します。 これは、recurrent_schedule配列で定期的な制限リセットが設定されているアイテムに適用されます。 制限のリセットが設定されていない場合、limit_exceeded_visibilityの値に関わらず、購入制限に達した後のアイテムはカタログに表示されません。 Enum: "show", "hide" - `content.limits.per_user.recurrent_schedule` (object) ユーザーのアイテム制限の定期更新期間。 - `content.limits.per_user.recurrent_schedule.interval_type` (string) 定期更新期間のタイプ。 Enum: "daily", "weekly", "monthly", "hourly" - `content.limits.per_user.recurrent_schedule.reset_next_date` (integer) 制限がリセットされた日時(UNIXタイムスタンプ)。 Example: 1677553200 - `content.limits.per_user.total` (integer) 1ユーザーあたりのユーザーが購入できるアイテムの最大数。 Example: 5 - `content.name` (string) アイテム名。 Example: "Big Rocket" - `content.price` (object,null) アイテム価格。 - `content.price.amount` (string) 割引を適用したアイテム価格。 Example: "100.99" - `content.price.amount_without_discount` (string) アイテム価格。 Example: "100.99" - `content.price.currency` (string) 商品価格の通貨。3文字のコード[ISO4217 規格](https://en.wikipedia.org/wiki/ISO_4217)詳細については、ドキュメントを参照してください。[エクソーラでサポートされている通貨](https://developers.xsolla.com/ja/doc/pay-station/references/supported-currencies/)。 Example: "USD" - `content.quantity` (integer) パッケージ内のアイテムの数量。 Example: 250 - `content.sku` (string) 一意のアイテムID。SKUには、小文字と大文字のラテン英数字、ダッシュ、およびアンダースコアのみが含まれます。 Example: "com.xsolla.big_rocket_1" - `content.type` (string) アイテムタイプ:virtual_good/virtual_currency/bundle。 Example: "virtual_currency" - `content.virtual_item_type` (string) 仮想アイテムタイプ。 Enum: "consumable", "non_consumable", "non_renewing_subscription" - `content.virtual_prices` (array) 仮想価格。 - `content.virtual_prices.amount` (integer) 割引を適用された仮想通貨建てのアイテム価格。 Example: 100 - `content.virtual_prices.description` (string) 仮想通貨の説明。 Example: "Big Rocket - description" - `content.virtual_prices.image_url` (string) 仮想通貨のイメージ。 Example: "http://image.png" - `content.virtual_prices.is_default` (boolean) アイテムの価格をデフォルトにするかどうか。 Example: true - `content.virtual_prices.name` (string) 仮想通貨名。 Example: "SHOTGUN FOR TRUE RAIDERS" - `content.virtual_prices.sku` (string) 仮想通貨アイテムSKU。 Example: "vc_test" - `content.virtual_prices.type` (string) 仮想通貨のタイプ。 Example: "virtual_currency" - `custom_attributes` (object) アイテムの属性と値を含むJSONオブジェクト。 - `item_id` (integer) 内部の一意のアイテムID。 Example: 1 - `long_description` (object,null) アイテムの長文説明のローカライズを含むオブジェクト。2文字の小文字の言語コード(例:en)または5文字のロケールコード(例:en-US)のいずれかの形式で値を受け入れます。どちらの形式も入力として受け入れられますが、応答は2文字の小文字の言語コードを返します。同じ言語に対して両方のバリアント(例:enとen-US)が提供された場合、最後に提供された値が保存されます。サポートされている言語の完全なリストは、[ドキュメント](/ja/doc/shop-builder/references/supported-languages/)で確認できます。 - `media_list` (array) バンドルの追加アセット。 Example: [{"type":"image","url":"https://cdn3.xsolla.com/img/misc/images/71ab1e12126f2103e1868076f0acb21a.jpg"}] - `media_list.type` (string) メディアタイプ:image/video。 Enum: "image", "video" - `media_list.url` (string) リソースファイル。 Example: "https://cdn3.xsolla.com/img/misc/images/71ab1e12126f2103e1868076f0acb21a.jpg" - `order` (integer) リスト内のバンドル順の優先順位。 Example: 1 - `periods` (array,null) アイテム販売期間。 - `periods.date_from` (string) 指定されたアイテムの販売開始日。 Example: "2020-08-11T10:00:00+03:00" - `periods.date_until` (string,null) 指定されたアイテムが販売できなくなる日付。nullを指定することもできます。 Example: "2020-08-11T20:00:00+03:00" - `promotions` (array) カート内の特定アイテムに適用されるプロモーション。この配列は、以下のケースで返されます: * 特定のアイテムに対して、割引キャンペーンが構成されている場合。 * 選択されたアイテムの割引設定を持つプロモーションコードが適用された場合。 アイテムレベルのプロモーションが適用されない場合は、空の配列が返されます。 - `promotions.bonus` (array) - `promotions.bonus.bundle_type` (string) ボーナスバンドルアイテムタイプ。ボーナスアイテムタイプbundleのみで利用可能です。 Enum: "standard", "virtual_currency_package" - `promotions.bonus.image_url` (string) ボーナスアイテムの画像URLです。ボーナスアイテムのタイプ physical_good では使用できません。ー - `promotions.bonus.name` (string) ボーナスアイテムの名前です。ボーナスアイテムのタイプphysical_goodでは使用できません。 - `promotions.bonus.quantity` (integer) - `promotions.bonus.sku` (string) - `promotions.bonus.type` (string) ボーナスアイテムタイプ。 Enum: "virtual_good", "virtual_currency", "bundle", "physical_good", "game_key", "nft" - `promotions.date_end` (string,null) - `promotions.date_start` (string,null) - `promotions.discount` (object,null) - `promotions.discount.percent` (string,null) - `promotions.discount.value` (string,null) - `promotions.limits` (object) - `promotions.limits.per_user` (object) - `promotions.limits.per_user.available` (integer) - `promotions.limits.per_user.total` (integer) - `promotions.name` (string) - `sku` (string) 一意のアイテムID。SKUには、小文字と大文字のラテン英数字、ピリオド、ダッシュ、およびアンダースコアのみが含まれます。 Example: "bundle_1" - `total_content_price` (object,null) バンドルコンテンツ価格の合計。 - `total_content_price.amount` (string) バンドルコンテンツの価格を割引いた場合の合計。 Example: "100.99" - `total_content_price.amount_without_discount` (string) バンドルコンテンツ価格の合計。 Example: "100.99" - `total_content_price.currency` (string) 商品価格通貨。[ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) による3文字コード。 Example: "USD" - `type` (string) アイテムタイプ。 Example: "bundle" - `vp_rewards` (array) バリューポイントアイテム報酬。 - `vp_rewards.amount` (integer) バリューポイントの量。 - `vp_rewards.is_clan` (boolean) バリューポイントがクランリワードチェーンで使用されるかどうか。 Example: true - `vp_rewards.name` (string) バリューポイント名。 - `vp_rewards.sku` (string) 一意のバリューポイントID。