按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": [ ],
- "bundle_type": "virtual_currency_package",
- "can_be_bought": true,
- "content": [
- {
- "description": "Crystal - short description",
- "inventory_options": {
- "consumable": {
- "usages_count": 1
}, - "expiration_period": null
}, - "item_id": 488831,
- "limits": null,
- "name": "Crystals",
- "quantity": 10,
- "sku": "crystals",
- "type": "virtual_currency"
}
], - "custom_attributes": {
- "attr": "value",
- "purchased": 0
}, - "description": "Crystal Pack Short Description",
- "groups": [ ],
- "is_free": false,
- "item_id": 488832,
- "limits": {
- "per_item": null,
- "per_user": {
- "available": 1,
- "recurrent_schedule": {
- "interval_type": "weekly",
- "reset_next_date": 1690732800
}, - "total": 1
}
}, - "name": "Crystal Pack",
- "periods": [
- {
- "date_from": "2020-08-11T10:00:00+03:00",
- "date_until": "2020-08-11T20:00:00+03:00"
}
], - "price": {
- "amount": 100,
- "amount_without_discount": 100,
- "currency": "USD"
}, - "promotions": [ ],
- "sku": "crystal-pack",
- "type": "bundle",
- "virtual_prices": [ ],
- "vp_rewards": [ ]
}