# API: Get products/services

# getProducts

List services from orderpage.

# Required parameters

Parameter Description
id Orderpage ID

# Request

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

# PHP Samples

# Response

{
    "success": true,
    "products": {
        "236": {
            "id": "236",
            "type": "9",
            "name": "VPS-1024-w-sliders",
            "stock": "0",
            "paytype": "Free",
            "description": "",
            "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": "30.00",
            "q": "0.00",
            "a": "0.00",
            "s": "0.00",
            "b": "0.00",
            "t": "0.00",
            "d": "0.00",
            "w": "0.00",
            "h": "0.00",
            "qty": "0",
            "visible": "1",
            "ptype": "onappcloud",
            "accounts": "1"
        },
        "235": {
            "id": "235",
            "type": "9",
            "name": "VPS-512-w-sliders",
            "stock": "0",
            "paytype": "Regular",
            "description": "",
            "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",
            "a": "0.00",
            "s": "0.00",
            "b": "0.00",
            "t": "0.00",
            "d": "0.00",
            "w": "0.00",
            "h": "0.00",
            "qty": "0",
            "visible": "1",
            "ptype": "onappcloud",
            "accounts": "3"
        }
    },
    "call": "getProducts",
    "server_time": 1317712858
}
Last Updated: 5/12/2023, 3:22:14 PM