Récupère une liste d'objets virtuels pour la constitution d'un catalogue.
limit | integer Nombre maximal d'éléments sur une page. Example: limit=50 |
offset | integer Numéro de l'élément à partir duquel la liste est générée (le compte commence à 0). Example: offset=0 |
locale | string Default: "en" Langue de la réponse. Code de langue à deux lettres minuscules selon la norme ISO 639-1. |
additional_fields[] | Array of strings Liste des champs supplémentaires. Ces champs figureront dans la réponse si vous les envoyez dans votre requête. Champs disponibles |
country | string Default: "US" Pays pour la détermination des prix régionaux et des restrictions pour le catalogue. Code pays à deux lettres majuscules selon la norme ISO 3166-1 alpha-2. Si vous ne spécifiez pas explicitement le pays, il sera déterminé en fonction de l'adresse IP de l'utilisateur. |
La liste d'objets virtuels a été reçue avec succès.
{- "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": [ ]
}
]
}