Loading...

Knowledge Base

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

NameData TypeRequired / OptionalDescription
auth-useridIntegerRequiredAuthentication Parameter
api-keyStringRequiredAuthentication Parameter
order-idIntegerRequiredThe Order ID for which the license key to be generated.
invoice-optionStringRequiredThis 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.