Получает список продаваемых товаров для построения каталога.
project_id required | integer ID проекта. Вы можете найти этот параметр в Личном кабинете рядом с названием проекта. Example: 59080 |
external_id required | string Default: "armour" External ID группы. |
limit | integer Лимит количества элементов на странице. Example: limit=50 |
offset | integer Номер элемента, с которого выполняется вывод на странице (нумерация ведется с 0). Example: offset=0 |
locale | string Default: "en" Язык ответа. Двухбуквенный код языка в нижнем регистре в соответствии с ISO 639-1. |
additional_fields[] | Array of strings Список дополнительных полей. Эти поля будут указаны в ответе, если вы отправите их в своем запросе. |
country | string Двухбуквенное обозначение страны в верхнем регистре согласно стандарту ISO 3166-1 alpha-2. Ознакомьтесь со списком стран, поддерживаемых Xsolla, а также с процессом определения страны. Example: country=US |
promo_code | string [ 1 .. 128 ] characters Уникальный код, чувствительный к регистру. Содержит буквы и цифры. Example: promo_code=WINTER2021 |
show_inactive_time_limited_items | integer Default: 0 Отображает предметы с ограниченным сроком действия, которые недоступны пользователю. Срок действия таких предметов еще не начался или уже истек. Example: show_inactive_time_limited_items=1 |
Список продаваемых товаров из указанной группы успешно получен.
Группа не найдена. Убедитесь, что верно указали external_id
и группа не отключена и не удалена.
{- "has_more": true,
- "items": [
- {
- "attributes": [ ],
- "can_be_bought": true,
- "custom_attributes": {
- "attr": "value",
- "purchased": 0
}, - "description": "Electric shield",
- "groups": [
- {
- "external_id": "armour",
- "name": "Armour"
}
], - "inventory_options": {
- "consumable": null,
- "expiration_period": [
- {
- "attributes": [ ],
- "can_be_bought": true,
- "description": "Royal shield",
- "groups": [
- {
- "external_id": "armour",
- "name": "Armour"
}
], - "inventory_options": {
- "consumable": null,
- "expiration_period": null
}, - "is_free": false,
- "item_id": 259775,
- "name": "Royal shield",
- "price": {
- "amount": "19.99",
- "amount_without_discount": "19.99",
- "currency": "USD"
}, - "promotions": [ ],
- "sku": "royal_shield",
- "type": "virtual_good",
- "virtual_item_type": "non_consumable",
- "virtual_prices": [
- {
- "amount": 20,
- "amount_without_discount": 20,
- "calculated_price": {
- "amount": "20.00",
- "amount_without_discount": "20.00"
}, - "description": null,
- "is_default": true,
- "item_id": 259765,
- "name": "Gold",
- "sku": "gold",
- "type": "virtual_currency"
}, - {
- "amount": 40,
- "amount_without_discount": 40,
- "calculated_price": {
- "amount": "40.00",
- "amount_without_discount": "40.00"
}, - "description": null,
- "is_default": false,
- "item_id": 259766,
- "name": "Silver",
- "sku": "silver",
- "type": "virtual_currency"
}, - {
- "amount": 400,
- "amount_without_discount": 400,
- "calculated_price": {
- "amount": "400.00",
- "amount_without_discount": "400.00"
}, - "description": null,
- "is_default": false,
- "item_id": 259767,
- "name": "Bronze",
- "sku": "bronze",
- "type": "virtual_currency"
}
]
}, - {
- "attributes": [ ],
- "can_be_bought": true,
- "description": "Ancient helmet",
- "groups": [
- {
- "external_id": "armour",
- "name": "Armour"
}
], - "inventory_options": {
- "consumable": null,
- "expiration_period": null
}, - "is_free": false,
- "item_id": 259776,
- "name": "Ancient helmet",
- "price": {
- "amount": "1.99",
- "amount_without_discount": "1.99",
- "currency": "USD"
}, - "promotions": [
- {
- "bonus": [
- {
- "name": "Xsolla Minigun",
- "quantity": 1,
- "sku": "minigun_1",
- "type": "virtual_good"
}
], - "date_end": "2026-04-15T16:16:00+03:00",
- "date_start": "2020-04-15T16:16:00+03:00",
- "discount": {
- "percent": "50.00"
}, - "name": "Bonus promotion"
}
], - "sku": "ancient_helmet",
- "type": "virtual_good",
- "virtual_item_type": "non_consumable",
- "virtual_prices": [
- {
- "amount": 2,
- "amount_without_discount": 2,
- "calculated_price": {
- "amount": "2.00",
- "amount_without_discount": "2.00"
}, - "description": null,
- "is_default": true,
- "item_id": 259765,
- "name": "Gold",
- "sku": "gold",
- "type": "virtual_currency"
}, - {
- "amount": 4,
- "amount_without_discount": 4,
- "calculated_price": {
- "amount": "4.00",
- "amount_without_discount": "4.00"
}, - "description": null,
- "is_default": false,
- "item_id": 259766,
- "name": "Silver",
- "sku": "silver",
- "type": "virtual_currency"
}, - {
- "amount": 40,
- "amount_without_discount": 40,
- "calculated_price": {
- "amount": "40.00",
- "amount_without_discount": "40.00"
}, - "description": null,
- "is_default": false,
- "item_id": 259767,
- "name": "Bronze",
- "sku": "bronze",
- "type": "virtual_currency"
}
]
}, - {
- "attributes": [ ],
- "can_be_bought": true,
- "description": "Wooden helmet",
- "groups": [
- {
- "external_id": "armour",
- "name": "Armour"
}
], - "inventory_options": {
- "consumable": null,
- "expiration_period": null
}, - "is_free": false,
- "item_id": 259777,
- "name": "Wooden helmet",
- "price": {
- "amount": "0.99",
- "amount_without_discount": "0.99",
- "currency": "USD"
}, - "promotions": [
- {
- "bonus": [
- {
- "name": "Xsolla Minigun",
- "quantity": 1,
- "sku": "minigun_1",
- "type": "virtual_good"
}
], - "date_end": "2026-04-15T16:16:00+03:00",
- "date_start": "2020-04-15T16:16:00+03:00",
- "discount": {
- "percent": "50.00"
}, - "name": "Bonus promotion"
}
], - "sku": "wooden_helmet",
- "type": "virtual_good",
- "virtual_item_type": "non_consumable",
- "virtual_prices": [
- {
- "amount": 1,
- "amount_without_discount": 1,
- "calculated_price": {
- "amount": "1.00",
- "amount_without_discount": "1.00"
}, - "description": null,
- "is_default": true,
- "item_id": 259765,
- "name": "Gold",
- "sku": "gold",
- "type": "virtual_currency"
}, - {
- "amount": 2,
- "amount_without_discount": 2,
- "calculated_price": {
- "amount": "2.00",
- "amount_without_discount": "2.00"
}, - "description": null,
- "is_default": false,
- "item_id": 259766,
- "name": "Silver",
- "sku": "silver",
- "type": "virtual_currency"
}, - {
- "amount": 20,
- "amount_without_discount": 20,
- "calculated_price": {
- "amount": "20.00",
- "amount_without_discount": "20.00"
}, - "description": null,
- "is_default": false,
- "item_id": 259767,
- "name": "Bronze",
- "sku": "bronze",
- "type": "virtual_currency"
}
]
}
]
}, - "is_free": false,
- "item_id": 259774,
- "limits": {
- "per_user": {
- "available": 3,
- "recurrent_schedule": {
- "interval_type": "weekly",
- "reset_next_date": 1746057600
}, - "total": 5
}
}, - "name": "Electric shield",
- "price": {
- "amount": "9.99",
- "amount_without_discount": "9.99",
- "currency": "USD"
}, - "promotions": [
- {
- "bonus": [
- {
- "name": "Xsolla Minigun",
- "quantity": 1,
- "sku": "minigun_1",
- "type": "virtual_good"
}
], - "date_end": "2026-04-15T16:16:00+03:00",
- "date_start": "2020-04-15T16:16:00+03:00",
- "discount": {
- "percent": "50.00"
}, - "name": "Bonus promotion"
}
], - "sku": "electric_shields",
- "type": "virtual_good",
- "virtual_item_type": "non_consumable",
- "virtual_prices": [
- {
- "amount": 10,
- "amount_without_discount": 10,
- "calculated_price": {
- "amount": "10.00",
- "amount_without_discount": "10.00"
}, - "description": null,
- "is_default": true,
- "item_id": 259765,
- "name": "Gold",
- "sku": "gold",
- "type": "virtual_currency"
}, - {
- "amount": 20,
- "amount_without_discount": 20,
- "calculated_price": {
- "amount": "20.00",
- "amount_without_discount": "20.00"
}, - "description": null,
- "is_default": false,
- "item_id": 259766,
- "name": "Silver",
- "sku": "silver",
- "type": "virtual_currency"
}, - {
- "amount": 200,
- "amount_without_discount": 200,
- "calculated_price": {
- "amount": "200.00",
- "amount_without_discount": "200.00"
}, - "description": null,
- "is_default": false,
- "item_id": 259767,
- "name": "Bronze",
- "sku": "bronze",
- "type": "virtual_currency"
}
], - "vp_rewards": [
- {
- "amount": 130,
- "item_id": 175232,
- "name": "Value point",
- "sku": "value_point_1"
}, - {
- "amount": 50,
- "is_clan": true,
- "item_id": 186321,
- "name": "Clan Reward VP 1",
- "sku": "clan_value_point_sku_1"
}
]
}
]
}