Obtém a lista de itens virtuais dentro de um grupo para administração.
project_id required | integer ID do projeto. Você pode encontrar esse parâmetro em sua Conta de Distribuidor ao lado do nome do projeto. Example: 44056 |
group_id required | integer ID de grupo. Example: 10 |
A lista de itens virtuais foi recebida com sucesso.
Autenticação básica não aprovada ou errada. Verifique se você usou a autenticação básica ou as credenciais corretas.
{- "items": [
- {
- "attributes": [ ],
- "custom_attributes": {
- "attr": "value",
- "purchased": 0
}, - "description": {
- "en": "Defend your Empire against Xsolla with the max armor"
}, - "groups": [
- {
- "external_id": "hair",
- "name": {
- "en": "Hair"
}
}, - {
- "external_id": "accessory",
- "name": {
- "en": "Accessory"
}
}
], - "inventory_options": {
- "consumable": true,
- "expiration_period": null
}, - "is_enabled": true,
- "is_free": false,
- "is_show_in_store": true,
- "limits": {
- "per_item": null,
- "per_user": {
- "total": 5
}, - "recurrent_schedule": {
- "per_user": {
- "day_of_month": 28,
- "day_of_week": null,
- "displayable_reset_next_date": "2023-03-28T11:00:00+08:00",
- "displayable_reset_start_date": "2023-02-28T11:00:00+08:00",
- "interval_type": "monthly",
- "reset_next_date": 1679972400,
- "time": "11:00:00+08:00"
}
}
}, - "long_description": "merchant_virtual_items_virtual_item_long_description_160310",
- "media_list": [ ],
- "name": {
- "en": "Empire Maximum Armor"
}, - "order": 1,
- "periods": [
- {
- "date_from": "2020-08-11T10:00:00+03:00",
- "date_until": "2020-08-11T20:00:00+03:00"
}
], - "prices": [
- {
- "amount": 12.99,
- "currency": "USD",
- "is_default": true,
- "is_enabled": true
}, - {
- "amount": 20.99,
- "country_iso": "CZ",
- "currency": "CZK",
- "is_default": false,
- "is_enabled": true
}
], - "regions": [ ],
- "sku": "armor_max_2",
- "type": "virtual_good",
- "vc_prices": [ ]
}, - {
- "attributes": [ ],
- "description": {
- "en": "Moderately protect yourself against the Empires barrage of attacks"
}, - "groups": [
- {
- "external_id": "hair",
- "name": {
- "en": "Hair"
}
}, - {
- "external_id": "accessory",
- "name": {
- "en": "Accessory"
}
}
], - "inventory_options": {
- "consumable": true,
- "expiration_period": null
}, - "is_enabled": true,
- "is_free": false,
- "is_show_in_store": false,
- "limits": {
- "per_item": null,
- "per_user": {
- "total": 5
}, - "recurrent_schedule": {
- "per_user": {
- "day_of_month": null,
- "day_of_week": null,
- "displayable_reset_next_date": "2023-02-28T11:00:00+08:00",
- "displayable_reset_start_date": "2023-02-28T11:00:00+08:00",
- "interval_type": "daily",
- "reset_next_date": 1677553200,
- "time": "11:00:00+08:00"
}
}
}, - "long_description": {
- "en": "Armor is a security-as-a-service company that provides cloud security and compliance solutions for small businesses and enterprises."
}, - "media_list": [ ],
- "name": {
- "en": "Xsolla Medium Armor"
}, - "order": 1,
- "periods": [
- {
- "date_from": null,
- "date_until": "2020-08-11T20:00:00+03:00"
}
], - "prices": [
- {
- "amount": 4.99,
- "currency": "USD",
- "is_default": true,
- "is_enabled": true
}, - {
- "amount": 20.99,
- "country_iso": "CZ",
- "currency": "CZK",
- "is_default": false,
- "is_enabled": true
}
], - "regions": [ ],
- "sku": "armor_med_1",
- "type": "virtual_good",
- "vc_prices": [ ]
}, - {
- "attributes": [
- {
- "external_id": "attr_1",
- "name": {
- "en-US": "OK"
}, - "values": [
- {
- "external_id": "val1",
- "value": {
- "en-US": "VALUE"
}
}, - {
- "external_id": "val2",
- "value": {
- "en-US": "VALUE2"
}
}
]
}
], - "description": {
- "en": "Moderately protect yourself against Xsolla's barrage of attacks"
}, - "groups": [
- {
- "external_id": "hair",
- "name": {
- "en": "Hair"
}
}, - {
- "external_id": "accessory",
- "name": {
- "en": "Accessory"
}
}
], - "inventory_options": {
- "consumable": true,
- "expiration_period": null
}, - "is_enabled": true,
- "is_free": false,
- "is_show_in_store": true,
- "limits": {
- "per_item": {
- "available": 455,
- "reserved": 5,
- "sold": 40,
- "total": 500
}, - "per_user": {
- "total": 5
}, - "recurrent_schedule": {
- "per_user": {
- "day_of_month": null,
- "day_of_week": null,
- "displayable_reset_next_date": "2023-02-28T11:00:00+08:00",
- "displayable_reset_start_date": "2023-02-28T11:00:00+08:00",
- "interval_type": "daily",
- "reset_next_date": 1677553200,
- "time": "11:00:00+08:00"
}
}
}, - "long_description": "merchant_virtual_items_virtual_item_long_description_160311",
- "media_list": [ ],
- "name": {
- "en": "Empire Medium Armor"
}, - "order": 1,
- "periods": [ ],
- "prices": [
- {
- "amount": 4.99,
- "currency": "USD",
- "is_default": true,
- "is_enabled": true
}, - {
- "amount": 20.99,
- "currency": "CZK",
- "is_default": false,
- "is_enabled": true
}
], - "regions": [ ],
- "sku": "armor_med_2",
- "type": "virtual_good",
- "vc_prices": [ ]
}
]
}