Knowledge Base
Categories: Reseller Windows Hosting API
Add a WHMCS License Key to a Reseller Windows Hosting Order Using the API
When you want to add a WHMCS license key to an existing Reseller Windows Hosting order using the API. This article explains the required parameters, billing options, and API request details for WHMCS license provisioning.
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
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 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
Response
Returns a map of the execution details of adding the WHMCS License Key.
Did you find this article helpful?