Description
Adds the WHMCS license key for the specified Reseller Windows Hosting Order.
Parameters
| Name | Data Type | Required / Optional | Description |
|---|---|---|---|
| auth-userid | Integer | Required | Authentication Parameter |
| api-key | String | Required | Authentication Parameter |
| order-id | Integer | Required | The Order ID for which the license key to be generated. |
| invoice-option | String | Required | This parameter will decide how the Customer Invoices will be handled. Values can be: NoInvoice, PayInvoice, KeepInvoice, OnlyAdd |
HTTP Method
POST
Example Test URL Request
<#start resellerwindowshosting#>US Server https://test.httpapi.com/api/resellerhosting/windows/us/generate-license-key.json?auth-userid=0&api-key=key&order-id=0&invoice-option=NoInvoice <#end resellerwindowshosting#><#start resellerwindowshostinguk#> UK Server https://test.httpapi.com/api/resellerhosting/windows/uk/generate-license-key.json?auth-userid=0&api-key=key&order-id=0&invoice-option=NoInvoice <#end resellerwindowshostinguk#><#start resellerwindowshostingin#> India Server https://test.httpapi.com/api/resellerhosting/windows/in/generate-license-key.json?auth-userid=0&api-key=key&order-id=0&invoice-option=NoInvoice <#end resellerwindowshostingin#><#start resellerwindowshostingtr#> Turkey Server https://test.httpapi.com/api/resellerhosting/windows/tr/generate-license-key.json?auth-userid=0&api-key=key&order-id=0&invoice-option=NoInvoice <#end resellerwindowshostingtr#>
Response
Returns a map of the execution details of adding the WHMCS License Key.