# API: Get product

# getProductDetails

Get product details.

# Required parameters

Parameter Description
id Product ID

# Request

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

# PHP Samples

# Response

{
    "success": true,
    "product": {
        "id": "235",
        "category_id": "43",
        "type": "9",
        "name": "VPS-512-w-sliders",
        "description": "",
        "visible": "1",
        "domain_options": "0",
        "stock": "0",
        "qty": "0",
        "autosetup": "0",
        "subdomain": "",
        "owndomain": "0",
        "tax": "0",
        "upgrades": "236",
        "sort_order": "0",
        "rel": "Product",
        "welcome_email_id": "0",
        "suspend_email_id": "0",
        "unsuspend_email_id": "0",
        "terminate_email_id": "0",
        "paytype": "Regular",
        "m_setup": "0.00",
        "q_setup": "0.00",
        "s_setup": "0.00",
        "a_setup": "0.00",
        "b_setup": "0.00",
        "t_setup": "0.00",
        "d_setup": "0.00",
        "w_setup": "0.00",
        "h_setup": "0.00",
        "m": "20.00",
        "q": "0.00",
        "s": "0.00",
        "a": "0.00",
        "b": "0.00",
        "t": "0.00",
        "d": "0.00",
        "w": "0.00",
        "h": "0.00",
        "ptype": "onappcloud",
        "options": [],
        "module": "5",
        "server": {
            "8": "8"
        },
        "tlds": null,
        "periods": null,
        "free_domain": "0",
        "hostname": true,
        "ospick": true
    },
    "call": "getProductDetails",
    "server_time": 1317712911
}
Last Updated: 5/12/2023, 3:22:14 PM