Gets a game key list from the specified group for building a catalog.
limit | integer Limit for the number of elements on the page. Example: limit=50 |
offset | integer Number of the element from which the list is generated (the count starts from 0). Example: offset=0 |
locale | string Default: "en" Response language. Two-letter lowercase language code per ISO 639-1. |
additional_fields[] | Array of strings The list of additional fields. These fields will be in the response if you send them in your request. Available fields |
country | string Default: "US" Country to calculate regional prices and restrictions for catalog. Two-letter uppercase country code per ISO 3166-1 alpha-2. If you do not specify the country explicitly, it will be calculated based on user's IP address. |
The list of game keys was successfully received.
{- "items": [
- {
- "sku": "game_1",
- "name": "Game name",
- "groups": [
- {
- "external_id": "all",
- "name": "All games"
}, - {
- "external_id": "Xsolla",
- "name": "Xsolla games"
}
], - "type": "game_key",
- "description": "Game description",
- "attributes": {
- "$ref": "#/components/examples/client-attribute-game-horror/Catalog_value"
}, - "is_free": false,
- "price": {
- "amount": "30.5",
- "amount_without_discount": "30.5",
- "currency": "USD"
}, - "virtual_prices": [ ],
- "drm_name": "Steam",
- "drm_sku": "steam",
- "has_keys": true,
- "is_pre_order": true,
- "release_date": "2020-08-11T10:00:00+03:00"
}, - {
- "sku": "game_2",
- "name": "Game name",
- "groups": [
- {
- "external_id": "all",
- "name": "All games"
}
], - "type": "game_key",
- "description": "Game description",
- "attributes": {
- "$ref": "#/components/examples/client-attribute-game-horror/Catalog_value"
}, - "is_free": false,
- "price": {
- "amount": "30.5",
- "amount_without_discount": "30.5",
- "currency": "USD"
}, - "virtual_prices": [ ],
- "drm_name": "Steam",
- "drm_sku": "steam",
- "has_keys": true,
- "is_pre_order": false
}
]
}