API:convertOrderDraft - Convert Order Draft to Order

Generate order from order draft.

Required parameters

id
Draft ID

Optional parameters

keep_draft
Do not delete draft after conversion - set 1 or 0.
tax_exempt
Force tax excemption - set 1 or 0.

Request

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

Response

   {
      "success": true,
      "order_id": "522",
      "call": "convertOrderDraft",
      "server_time": 1344000642,
      "info": [
         "success"
      ]
   }