Xsolla-logo

Get virtual item

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.
Request
Security:
path Parameters
project_id
required
integer

Project ID.

Example: 44056
item_sku
required
string

Item SKU.

Example: booster_mega_1
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
curl -i -X GET \
  -u <username>:<password> \
  https://store.xsolla.com/api/v2/project/:project_id/admin/items/virtual_items/sku/:item_sku
Response samples
application/json
{
  • "sku": "swords_1",
  • "name": {
    },
  • "type": "virtual_good",
  • "description": {
    },
  • "long_description": {
    },
  • "attributes": [
    ],
  • "is_free": false,
  • "order": 1,
  • "groups": [
    ],
  • "regional_prices": [ ],
  • "prices": [
    ],
  • "media_list": [ ],
  • "vc_prices": [ ],
  • "is_enabled": true,
  • "is_show_in_store": true,
  • "regions": [ ],
  • "inventory_options": {
    }
}