API:getOrderDetails - Get order details

Return order details

Required parameters

id
Order ID

Request

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

Response

   {
      "success": true,
      "details": {
         "id": "66",
         "number": "565063300",
         "payment_module": "0",
         "client_id": "1",
         "invoice_id": "59",
         "total": "11.94",
         "date_created": "2011-11-22 23:35:41",
         "status": "Active",
         "order_ip": "127.0.0.1",
         "notes": "",
         "firstname": "John",
         "lastname": "Doe",
         "module": null,
         "invtotal": null,
         "invstatus": null,
         "currency_id": "0",
         "fraudmodule": null,
         "balance": "Completed",
         "hosting": [
            
         ],
         "addons": [
            
         ],
         "upgrades": [
            
         ],
         "fieldupgrades": [
            
         ],
         "domains": [
            {
               "id": "11",
               "name": "netearthorg.org",
               "type": "Register",
               "firstpayment": "9.95",
               "period": "1",
               "status": "Active",
               "reg_module": "36",
               "nameservers": [
                  "dns1.parking-page.net",
                  "dns2.parking-page.net",
                  "",
                  "",
                  ""
               ],
               "nsips": [
                  ""
               ]
            }
         ]
      },
      "call": "getOrderDetails",
      "server_time": 1323445333
   }