Creates a virtual currency.
sku required | string Unique item ID. The SKU may only contain lowercase Latin alphanumeric characters, periods, dashes, and underscores. |
required | 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 |
Array of objects Item's additional assets such as screenshots, gameplay video and so on. | |
Array of objects | |
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 | |
Array of objects or null | |
is_enabled | boolean |
is_deleted | boolean |
is_show_in_store | boolean |
is_free | boolean If |
is_hard | boolean |
order | integer Defines arrangement order. |
object | |
Array of objects |
Virtual item was successfully created.
Invalid request.
{- "sku": "coin",
- "name": {
- "en-US": "Gold coin",
- "de-DE": "Goldmünze"
}, - "is_enabled": true,
- "is_free": false,
- "order": 1,
- "description": {
- "en-US": "The main currency of your kingdom",
- "de-DE": "Die Hauptwährung deines Königreichs"
}, - "prices": [
- {
- "amount": 100,
- "currency": "USD",
- "is_enabled": true,
- "is_default": true
}
], - "attributes": [
- {
- "external_id": "material",
- "name": {
- "en-US": "Material"
}, - "values": [
- {
- "external_id": "gold",
- "value": {
- "en-US": "Gold"
}
}
]
}
]
}
{- "sku": "new-sku"
}