Obtiene una lista de artículos vendibles del grupo especificado para crear un catálogo.
project_id required | integer ID del proyecto. Encontrará este parámetro en su Cuenta del editor junto al nombre del proyecto. Example: 59080 |
external_id required | string Default: "armour" Group external ID. |
limit | integer Limit for the number of elements on the page. Example: limit=50 |
offset | integer Número del elemento a partir del cual se genera la lista (el conteo empieza desde el 0). Example: offset=0 |
locale | string Default: "en" Idioma de respuesta. Código de idioma de dos letras minúsculas según la norma ISO 639-1. |
additional_fields[] | Array of strings La lista de campos adicionales. Estos campos estarán en la respuesta si los envía en su solicitud. |
country | string Código de país de dos letras mayúsculas de conformidad con la norma ISO 3166-1 alpha-2. Consulte la documentación para obtener información detallada sobre países admitidos por Xsolla y el proceso de determinación del país. Example: country=US |
promo_code | string [ 1 .. 128 ] characters Código único que distingue entre mayúsculas y minúsculas. Contiene letras y números. Example: promo_code=WINTER2021 |
show_inactive_time_limited_items | integer Default: 0 Muestra los artículos de duración limitada que no están disponibles para el usuario. El periodo de validez de dichos artículos no ha comenzado o ya ha expirado. Example: show_inactive_time_limited_items=1 |
La lista de artículos vendibles del grupo especificado se recibió correctamente.
No se encontró el grupo. Asegúrese de que el external_id
es correcto y de que el grupo no está desactivado ni eliminado.
{- "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"
}
]
}
]
}