Xsolla-logo

Get virtual itemServer-sideAdmin

get/v2/project/{project_id}/admin/items/virtual_items/sku/{item_sku}

Gets the virtual item within a project for administration.

Note

Do not use this endpoint for building a store catalog.
SecuritybasicAuth
Request
path Parameters
project_id
required
integer

Project ID. You can find this parameter in your Publisher Account next to the name of the project.

Example: 44056
item_sku
required
string

Item SKU.

Example: booster_mega_1
query Parameters
promo_code
string [ 1 .. 128 ] characters

Unique case sensitive code. Contains letters and numbers.

Example: promo_code=WINTER2021
Responses
200

The specified virtual item was successfully received.

401

Basic authentication not passed or wrong. Make sure you used basic authentication or correct credentials.

Request samples
Response samples
application/json
{
  • "sku": "swords_1",
  • "name": {
    },
  • "type": "virtual_good",
  • "description": {
    },
  • "long_description": {
    },
  • "attributes": [
    ],
  • "is_free": false,
  • "order": 1,
  • "groups": [
    ],
  • "prices": [
    ],
  • "media_list": [ ],
  • "vc_prices": [ ],
  • "is_enabled": true,
  • "is_show_in_store": true,
  • "regions": [ ],
  • "inventory_options": {
    },
  • "limits": {
    },
  • "periods": [
    ],
  • "custom_attributes": {
    }
}