Xsolla-logoXsolla Developers
または
パブリッシャーアカウントへ

バンドルのリストを取得Client-side

get/v2/project/{project_id}/items/bundle

Gets a list of bundles for building a catalog.

Attention

All projects have the limitation to the number of items that you can get in the response. The default and maximum value is 50 items per response.

Note

The use of the item catalog API calls is available without authorization, but to get a personalized catalog, you must pass the user JWT in the Authorization header.
SecurityXsollaLoginUserJWT
Request
path Parameters
project_id
required
integer

プロジェクトID。このパラメータは、パブリッシャーアカウントのプロジェクト名の横にあります。

Example: 44056
query Parameters
limit
integer >= 1

ページでの要素数の制限。

Example: limit=50
offset
integer >= 0

リストが生成される要素番号(カウントは0から始まります)。

Example: offset=0
locale
string
Default: "en"

応答言語。ISO 639-1に基づく小文字の2文字言語コード。

additional_fields[]
Array of strings

追加フィールドのリスト。これらのフィールドは、リクエストの中で送信すると、応答に含まれます。

Items Enum: "media_list" "order" "long_description" "custom_attributes" "item_order_in_group"
country
string

ISO 3166-1 alpha-2に従った2文字の大文字の国名コード。エクソーラがサポートする国国を決定するプロセスに関する詳細情報については、ドキュメントを確認してください。

Example: country=US
promo_code
string [ 1 .. 128 ] characters

大文字と小文字を区別する一意のコードです。文字と数字が含まれます。

Example: promo_code=WINTER2021
show_inactive_time_limited_items
integer
Default: 0

ユーザーに利用可能でない、期限付きアイテムを表示します。このようなアイテムの有効期間はまだ開始されていないか、すでに期限切れです。

Example: show_inactive_time_limited_items=1
Responses
200

バンドルのリストは正常に受信されました。

Request samples
Response samples
application/json
{
  • "has_more": true,
  • "items": [
    ]
}