按SKU获取用于构建目录的虚拟货币。
locale | string Default: "en" 响应语言。按照ISO 639-1规定使用两个小写字母的语言代码。 |
country | string Two-letter uppercase country code per ISO 3166-1 alpha-2. Shows regional prices and restrictions for a catalog if those were specified while creating an item. Note
If you do not specify the country explicitly, it will be set based on user's IP address. Example: country=US |
show_inactive_time_limited_items | integer Default: 0 显示用户不可用的时效性商品。此类商品的有效期尚未开始或已过期。 Example: show_inactive_time_limited_items=1 |
已成功收到虚拟货币。
{- "attributes": [
- {
- "external_id": "attr1",
- "name": {
- "en-US": "Attribute"
}, - "values": [
- {
- "external_id": "val1",
- "value": {
- "en-US": "Value"
}
}, - {
- "external_id": "val2",
- "value": {
- "en-US": "Value"
}
}
]
}
], - "can_be_bought": true,
- "custom_attributes": {
- "attr": "value",
- "purchased": 0
}, - "description": "Crystals - short description",
- "groups": [ ],
- "inventory_options": {
- "consumable": {
- "usages_count": 1
}, - "expiration_period": null
}, - "is_free": false,
- "item_id": 451414,
- "limits": null,
- "name": {
- "en": "Crystals"
}, - "periods": [
- {
- "date_from": "2023-08-11T10:00:00+03:00",
- "date_until": "2023-08-11T20:00:00+03:00"
}
], - "price": {
- "amount": 100,
- "amount_without_discount": 100,
- "currency": "USD"
}, - "promotions": [ ],
- "sku": "crystal",
- "type": "virtual_currency",
- "virtual_prices": [ ]
}