从指定组获取用于构建目录的可售商品列表。
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 符合ISO 3166-1 alpha-2标准的两个大写字母的国家/地区代码。如果在创建商品时进行了指定,则显示目录的区域价格和限制。 注意
如果没有明确指定国家/地区,则会根据用户的IP地址设置。 Example: country=US |
promo_code | string [ 1 .. 128 ] characters 区分大小写的唯一券码。包含字母和数字。 Example: promo_code=WINTER2021 |
show_inactive_time_limited_items | integer Default: 0 显示用户不可用的时效性商品。此类商品的有效期尚未开始或已过期。 Example: show_inactive_time_limited_items=1 |
已成功接收指定组的可售商品列表。
未找到该组。确保external_id
正确并且该组没有被关闭或删除。
{- "has_more": true,
- "items": [
- {
- "attributes": [ ],
- "can_be_bought": true,
- "custom_attributes": {
- "attr": "value",
- "purchased": 0
}, - "description": "Electric shield",
- "groups": [
- {
- "external_id": "armour",
- "name": "Armour"
}
], - "inventory_options": {
- "consumable": null,
- "expiration_period": [
- {
- "attributes": [ ],
- "can_be_bought": true,
- "description": "Royal shield",
- "groups": [
- {
- "external_id": "armour",
- "name": "Armour"
}
], - "inventory_options": {
- "consumable": null,
- "expiration_period": null
}, - "is_free": false,
- "item_id": 259775,
- "name": "Royal shield",
- "price": {
- "amount": "19.99",
- "amount_without_discount": "19.99",
- "currency": "USD"
}, - "sku": "royal_shield",
- "type": "virtual_good",
- "virtual_item_type": "non_consumable",
- "virtual_prices": [
- {
- "amount": 20,
- "amount_without_discount": 20,
- "calculated_price": {
- "amount": "20.00",
- "amount_without_discount": "20.00"
}, - "description": null,
- "is_default": true,
- "item_id": 259765,
- "name": "Gold",
- "sku": "gold",
- "type": "virtual_currency"
}, - {
- "amount": 40,
- "amount_without_discount": 40,
- "calculated_price": {
- "amount": "40.00",
- "amount_without_discount": "40.00"
}, - "description": null,
- "is_default": false,
- "item_id": 259766,
- "name": "Silver",
- "sku": "silver",
- "type": "virtual_currency"
}, - {
- "amount": 400,
- "amount_without_discount": 400,
- "calculated_price": {
- "amount": "400.00",
- "amount_without_discount": "400.00"
}, - "description": null,
- "is_default": false,
- "item_id": 259767,
- "name": "Bronze",
- "sku": "bronze",
- "type": "virtual_currency"
}
]
}, - {
- "attributes": [ ],
- "can_be_bought": true,
- "description": "Ancient helmet",
- "groups": [
- {
- "external_id": "armour",
- "name": "Armour"
}
], - "inventory_options": {
- "consumable": null,
- "expiration_period": null
}, - "is_free": false,
- "item_id": 259776,
- "name": "Ancient helmet",
- "price": {
- "amount": "1.99",
- "amount_without_discount": "1.99",
- "currency": "USD"
}, - "sku": "ancient_helmet",
- "type": "virtual_good",
- "virtual_item_type": "non_consumable",
- "virtual_prices": [
- {
- "amount": 2,
- "amount_without_discount": 2,
- "calculated_price": {
- "amount": "2.00",
- "amount_without_discount": "2.00"
}, - "description": null,
- "is_default": true,
- "item_id": 259765,
- "name": "Gold",
- "sku": "gold",
- "type": "virtual_currency"
}, - {
- "amount": 4,
- "amount_without_discount": 4,
- "calculated_price": {
- "amount": "4.00",
- "amount_without_discount": "4.00"
}, - "description": null,
- "is_default": false,
- "item_id": 259766,
- "name": "Silver",
- "sku": "silver",
- "type": "virtual_currency"
}, - {
- "amount": 40,
- "amount_without_discount": 40,
- "calculated_price": {
- "amount": "40.00",
- "amount_without_discount": "40.00"
}, - "description": null,
- "is_default": false,
- "item_id": 259767,
- "name": "Bronze",
- "sku": "bronze",
- "type": "virtual_currency"
}
]
}, - {
- "attributes": [ ],
- "can_be_bought": true,
- "description": "Wooden helmet",
- "groups": [
- {
- "external_id": "armour",
- "name": "Armour"
}
], - "inventory_options": {
- "consumable": null,
- "expiration_period": null
}, - "is_free": false,
- "item_id": 259777,
- "name": "Wooden helmet",
- "price": {
- "amount": "0.99",
- "amount_without_discount": "0.99",
- "currency": "USD"
}, - "sku": "wooden_helmet",
- "type": "virtual_good",
- "virtual_item_type": "non_consumable",
- "virtual_prices": [
- {
- "amount": 1,
- "amount_without_discount": 1,
- "calculated_price": {
- "amount": "1.00",
- "amount_without_discount": "1.00"
}, - "description": null,
- "is_default": true,
- "item_id": 259765,
- "name": "Gold",
- "sku": "gold",
- "type": "virtual_currency"
}, - {
- "amount": 2,
- "amount_without_discount": 2,
- "calculated_price": {
- "amount": "2.00",
- "amount_without_discount": "2.00"
}, - "description": null,
- "is_default": false,
- "item_id": 259766,
- "name": "Silver",
- "sku": "silver",
- "type": "virtual_currency"
}, - {
- "amount": 20,
- "amount_without_discount": 20,
- "calculated_price": {
- "amount": "20.00",
- "amount_without_discount": "20.00"
}, - "description": null,
- "is_default": false,
- "item_id": 259767,
- "name": "Bronze",
- "sku": "bronze",
- "type": "virtual_currency"
}
]
}
]
}, - "is_free": false,
- "item_id": 259774,
- "limits": {
- "per_user": {
- "available": 3,
- "recurrent_schedule": {
- "interval_type": "weekly",
- "reset_next_date": 1746057600
}, - "total": 5
}
}, - "name": "Electric shield",
- "price": {
- "amount": "9.99",
- "amount_without_discount": "9.99",
- "currency": "USD"
}, - "sku": "electric_shield",
- "type": "virtual_good",
- "virtual_item_type": "non_consumable",
- "virtual_prices": [
- {
- "amount": 10,
- "amount_without_discount": 10,
- "calculated_price": {
- "amount": "10.00",
- "amount_without_discount": "10.00"
}, - "description": null,
- "is_default": true,
- "item_id": 259765,
- "name": "Gold",
- "sku": "gold",
- "type": "virtual_currency"
}, - {
- "amount": 20,
- "amount_without_discount": 20,
- "calculated_price": {
- "amount": "20.00",
- "amount_without_discount": "20.00"
}, - "description": null,
- "is_default": false,
- "item_id": 259766,
- "name": "Silver",
- "sku": "silver",
- "type": "virtual_currency"
}, - {
- "amount": 200,
- "amount_without_discount": 200,
- "calculated_price": {
- "amount": "200.00",
- "amount_without_discount": "200.00"
}, - "description": null,
- "is_default": false,
- "item_id": 259767,
- "name": "Bronze",
- "sku": "bronze",
- "type": "virtual_currency"
}
], - "vp_rewards": [
- {
- "amount": 130,
- "item_id": 175232,
- "name": "Value point",
- "sku": "value_point_1"
}
]
}
]
}