Retrieves the information about upsell in project: whether it's enabled, type of upsell, and the SKU list of items that are a part of this upsell.
project_id required | integer Project ID. You can find this parameter in your Publisher Account next to the name of the project. Example: 44056 |
The list of configuration details and items used for upsell in the project.
Authentication not passed or wrong.
curl -i -X GET \ 'https://store.xsolla.com/api/v2/project/{project_id}/admin/items/upsell' \ -H 'Authorization: Bearer <YOUR_JWT_HERE>'
[- {
- "is_enabled": true,
- "type": "fixed_list",
- "items": [
- {
- "item_id": 1,
- "sku": "booster_mega_1",
- "name": {
- "en": "Item's name",
- "de": "Name des Artikels"
}, - "type": "virtual_good"
}, - {
- "item_id": 2,
- "sku": "booster_mega_2",
- "name": {
- "en": "Item's name",
- "de": "Name des Artikels"
}, - "type": "bundle",
- "bundle_type": "standard"
}, - {
- "item_id": 3,
- "sku": "mega_game",
- "name": {
- "en": "Mega game"
}, - "type": "unit",
- "unit_type": "game",
- "unit_items": [
- {
- "item_id": 4,
- "sku": "mega_game_steam",
- "name": {
- "en": "Mega game steam"
}, - "drm_name": "Steam",
- "drm_sku": "steam"
}
]
}
]
}
]