Creates a virtual item.
sku | string Unique item ID. The SKU may only contain lowercase Latin alphanumeric characters, periods, dashes, and underscores. |
object Object with localizations for item's name. Two-letter lowercase language code. | |
object Object with localizations for item's description. Two-letter lowercase language code. | |
object Object with localizations for long description of item. Two-letter lowercase language code. | |
image_url | string Image URL. |
Array of objects Item's additional assets such as screenshots, gameplay video and so on. | |
Array of objects Groups the item belongs to. | |
Array of objects <= 20 items List of attributes. Attention. You can't specify more than 20 attributes for the item. Any attempts to exceed the limit result in an error.
| |
Array of objects | |
Array of objects | |
is_enabled | boolean |
is_deleted | boolean |
is_show_in_store | boolean |
is_free | boolean If |
order | integer Defines arrangement order. |
object Defines the inventory item options. | |
object | |
Array of objects |
Virtual item was successfully created.
Invalid request.
{- "sku": "sword",
- "name": {
- "en": "Sword",
- "de": "Schwert"
}, - "is_enabled": true,
- "is_free": false,
- "order": 1,
- "description": {
- "en": "A sword is a bladed melee weapon intended for cutting or thrusting that is longer than a knife or dagger, consisting of a long blade attached to a hilt.",
- "de": "Ein Schwert ist eine Nahkampfwaffe mit Klinge, die zum Schneiden oder Stechen bestimmt ist, länger als ein Messer oder Dolch ist und aus einer langen Klinge besteht, die an einem Griff befestigt ist."
}, - "prices": [
- {
- "amount": 100,
- "currency": "USD",
- "is_enabled": true,
- "is_default": true
}, - {
- "amount": 200,
- "currency": "CZK",
- "country_iso": "CZ",
- "is_enabled": false,
- "is_default": true
}
], - "vc_prices": [ ],
- "is_show_in_store": true,
- "attributes": [
- {
- "external_id": "craft-materials",
- "name": {
- "en": "Craft materials"
}, - "values": [
- {
- "external_id": "steel",
- "value": {
- "en-US": "5"
}
}, - {
- "external_id": "leather",
- "value": {
- "en-US": "1"
}
}
]
}
]
}
{- "sku": "new-sku"
}