API:getProducts - Get products/services

List services from orderpage.

Required parameters

id
Orderpage ID

Request

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

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
   }