Gets coupons rewards by its code.
Can be used to allow users to choose one of many items as a bonus.
The usual case is choosing a DRM if the coupon contains a game as a bonus (type=unit
).
已成功接收优惠券奖励列表。
认证未通过或错误。
未发送授权标头。
输入有效的优惠券码。
无效的请求。
{- "bonus": [
- {
- "item": {
- "description": "Game description",
- "name": "Game name",
- "sku": "game_1",
- "type": "unit",
- "unit_items": [
- {
- "drm_name": "Steam",
- "drm_sku": "steam",
- "is_free": false,
- "name": "Game name",
- "sku": "game_key_01",
- "type": "game_key"
}, - {
- "drm_name": "Origin",
- "drm_sku": "origin",
- "name": "Game name",
- "sku": "game_key_02",
- "type": "game_key"
}
]
}, - "quantity": 1
}, - {
- "item": {
- "description": "Game description",
- "name": "Game name",
- "sku": "game_2",
- "type": "unit",
- "unit_items": [
- {
- "drm_name": "Steam",
- "drm_sku": "steam",
- "name": "Game name",
- "sku": "game_key_01",
- "type": "game_key"
}
]
}, - "quantity": 2
}
], - "discount": {
- "percent": "10.00"
}, - "is_selectable": true
}