# API: Get applicable upgrades

# getProductUpgrades

Get list of products that can be and are applied as upgrade to certain product.

# Required parameters

Parameter Description
id Product ID

# Request

GET /admin/api.php?api_id=API_ID&api_key=API_KEY&call=getProductUpgrades&id=ID

# PHP Samples

# Response

{
    "success": true,
    "upgrades": [
        {
            "id": "236",
            "name": "VPS-1024",
            "catname": "Cloud tests",
            "category_id": "43",
            "assigned": true
        },
        {
            "id": "234",
            "name": "VPS-2048",
            "catname": "Cloud tests",
            "category_id": "43"
        }
    ],
    "call": "getProductUpgrades",
    "server_time": 1317713000
}
Last Updated: 5/12/2023, 3:22:14 PM