Gets a virtual items list for building a catalog.
limit | integer Límite para el número de elementos presentes en la página. 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 Lista de campos adicionales. Estos campos estarán en la respuesta si los envía en su solicitud. Campos disponibles |
country | string Default: "US" País para calcular los precios regionales y las restricciones del catálogo. Código de país de dos letras en mayúscula según la norma ISO 3166-1 alpha-2. Si no especifica el país explícitamente, se calculará en función de la dirección IP del usuario. |
The list of virtual items was successfully received.
{- "items": [
- {
- "attributes": [
- {
- "external_id": "stack_size",
- "name": "Stack size",
- "values": [
- {
- "external_id": "size_e3364991f92e751689a68b96598a5a5a84010b85",
- "value": "5"
}
]
}
], - "description": "Big Rocket - description",
- "groups": [
- {
- "external_id": "accessory",
- "name": "Accessory"
}
], - "inventory_options": {
- "consumable": {
- "usages_count": 1
}, - "expiration_period": {
- "type": "day",
- "value": 1
}
}, - "is_free": false,
- "name": "Big Rocket",
- "price": {
- "amount": "100.99",
- "amount_without_discount": "100.99",
- "currency": "USD"
}, - "sku": "big_rocket",
- "type": "virtual_good",
- "virtual_item_type": "non_renewing_subscription",
- "virtual_prices": [
- {
- "amount": 100,
- "amount_without_discount": 100,
- "description": "description",
- "is_default": true,
- "name": "SHOTGUN FOR TRUE RAIDERS",
- "sku": "vc_test",
- "type": "virtual_currency"
}
]
}, - {
- "attributes": [
- {
- "external_id": "stack_size",
- "name": "Stack size",
- "values": [
- {
- "external_id": "size_e3364991f92e751689a68b96598a5a5a84010b85",
- "value": "5"
}
]
}, - {
- "external_id": "rating",
- "name": "Rating",
- "values": [
- {
- "external_id": "rating_e3364991f92e751689a68b96598a5a5a84010b85",
- "value": "3.9"
}
]
}
], - "description": "description",
- "groups": [
- {
- "external_id": "hair",
- "name": "Hair"
}
], - "inventory_options": [
- {
- "consumable": [
- {
- "usages_count": 1
}
]
}, - {
- "expiration_period": [
- {
- "type": "day"
}, - {
- "value": 1
}
]
}
], - "is_free": false,
- "name": "SHOTGUN FOR TRUE RAIDERS",
- "price": {
- "amount": "101.0",
- "amount_without_discount": "101.0",
- "currency": "USD"
}, - "sku": "shotgun_raider",
- "type": "virtual_good",
- "virtual_item_type": "non_renewing_subscription",
- "virtual_prices": [
- {
- "amount": 100,
- "amount_without_discount": 100,
- "description": "description",
- "is_default": true,
- "name": "SHOTGUN FOR TRUE RAIDERS",
- "sku": "vc_test",
- "type": "virtual_currency"
}, - {
- "amount": 200,
- "amount_without_discount": 200,
- "description": "description",
- "is_default": false,
- "name": "SHOTGUN FOR TRUE RAIDERS",
- "sku": "vc_test_2",
- "type": "virtual_currency"
}
]
}, - {
- "attributes": [ ],
- "description": "description",
- "groups": [ ],
- "inventory_options": {
- "consumable": {
- "usages_count": 1
}, - "expiration_period": {
- "type": "day",
- "value": 1
}
}, - "is_free": true,
- "name": "SHOTGUN FOR TRUE RAIDERS",
- "sku": "shotgun_raider_2",
- "type": "virtual_good",
- "virtual_item_type": "non_renewing_subscription",
- "virtual_prices": [ ]
}
]
}