获取用于构建目录的捆绑包列表。
limit | integer 页面上元素数量的限制。 Example: limit=50 |
offset | integer 元素编号,从该元素开始生成列表(从0开始数)。 Example: offset=0 |
locale | string Default: "en" 响应语言。符合ISO 639-1标准的两个小写字母的语言代码。 |
additional_fields[] | Array of strings 附加字段列表。如果在请求中发送这些字段,则它们将包含在响应中。可用字段 |
country | string Default: "US" 对于该目录要计算区域价格和限制的国家/地区。符合ISO 3166-1 alpha-2的两个大写字母的国家/地区代码。如果未明确指定国家/地区,则将根据用户的IP地址进行计算。 |
捆绑包列表已成功接收。
{- "items": [
- {
- "attributes": {
- "external_id": "genre",
- "name": "Genre",
- "values": [
- {
- "external_id": "genre_e3364991f92e751689a68b96598a5a5a84010b85",
- "value": "Casual"
}, - {
- "external_id": "genre_eba07bfd0f982940773cba3744d97264dd58acd7",
- "value": "Strategy"
}, - {
- "external_id": "genre_b8d0c6d8f0524c2b2d79ebb93aa3cd0e8b5199a8",
- "value": "Mobile"
}
]
}, - "bundle_type": "standard",
- "content": [
- {
- "attributes": {
- "external_id": "size",
- "name": "Size",
- "values": [
- {
- "external_id": "size_e3364991f92e751689a68b96598a5a5a84010b85",
- "value": "Large"
}
]
}, - "description": "Big Rocket - short description.",
- "groups": [ ],
- "is_free": false,
- "name": "Big Rocket",
- "price": {
- "amount": 10.99,
- "amount_without_discount": 10.99,
- "currency": "USD"
}, - "quantity": 100,
- "sku": "big_rocket",
- "type": "virtual_currency",
- "virtual_item_type": "non_consumable",
- "virtual_prices": [ ]
}
], - "description": "pricePoint_44056_1",
- "groups": [ ],
- "is_free": false,
- "media_list": [ ],
- "name": "kg_10.00_bundle",
- "order": 999,
- "price": {
- "amount": 9.99,
- "amount_without_discount": 9.99,
- "currency": "USD"
}, - "sku": "kg_1",
- "total_content_price": {
- "amount": 10.99,
- "amount_without_discount": 10.99,
- "currency": "USD"
}, - "type": "bundle",
- "virtual_prices": [ ]
}
]
}