Xsolla-logo

Get game for catalog

get/v2/project/{project_id}/items/game/sku/{item_sku}

Gets a game for the catalog.

Request
path Parameters
project_id
required
integer

Project ID.

Example: 44056
item_sku
required
string
Default: "full_game_1"

Item SKU.

query Parameters
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 media_list, order, long_description.

country
string

Two-letter uppercase country code per ISO 3166-1 alpha-2. Shows regional prices and restrictions for a catalog if those were specified while creating an item.

Note

If you do not specify the country explicitly, it will be set based on user's IP address.

Example: country=US
Responses
200

Game was successfully received.

404

Game not found.

Request samples
Response samples
application/json
{
  • "sku": "game_1",
  • "name": "Game name",
  • "groups": [
    ],
  • "type": "unit",
  • "unit_type": "game",
  • "description": "Game description",
  • "attributes": {
    },
  • "unit_items": [
    ]
}