Xsolla-logoXsolla Developers
또는
관리자 페이지로

모든 가상 아이템 목록 가져오기Client-side

get/v2/project/{project_id}/items/virtual_items/all

Gets a list of all virtual items for searching on client-side.

Attention

Returns only item SKU, name, groups and description

Note

In general, the use of catalog of items is available without authorization.
Only authorized users can get a personalized catalog.
SecurityXsollaLoginUserJWT
Request
path Parameters
project_id
required
integer

프로젝트 ID입니다. 이 매개 변수는 관리자 페이지의 프로젝트 이름 옆에서 확인할 수 있습니다.

Example: 44056
query Parameters
locale
string
Default: "en"

응답 언어입니다. ISO 639-1에 따른 두 자리 소문자 언어 코드입니다.

promo_code
string [ 1 .. 128 ] characters

고유한 대/소문자 구분 코드입니다. 문자와 숫자를 포함합니다.

Example: promo_code=WINTER2021
Responses
200

모든 가상 아이템 목록을 성공적으로 수신했습니다.

Request samples
curl -i -X GET \
  'https://store.xsolla.com/api/v2/project/{project_id}/items/virtual_items/all?locale=en&promo_code=WINTER2021' \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>'
Response samples
application/json
{
  • "items": [
    ]
}