API:editOrderDraftItem - Edit Order Draft Item

Edit item details in draft.

Required parameters

id
Draft ID

Optional parameters

service
Service ID found in draft
domain
Domain ID found in draft
product
Product ID for service
cycle
Billing cycle for service
host
Hostname for service
domain_sld
SLD name for domain
domain_tld
TLD ID for domain
domain_period
Period for domain
domain_action
Action type for domain: Register or Transfer
domain_eppcode
EPP Code for domain in case of Transfer
custom
Form component values for domains and services
addons
Addons details for services

Request

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

Response

   {
      "success": true,
      "draft": { ... },
      "call": "editOrderDraftItem",
      "server_time": 1344000642,
      "info": [
         "upgrade_order_success"
      ]
   }