Loading...

Knowledge Base

Add a WHMCS License Key to a Reseller Linux Hosting Order Using the API

When you want to add a WHMCS license key to an existing Reseller Linux 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 Linux Hosting Order

Parameters

NameData TypeRequired / OptionalDescription
auth-useridIntegerRequiredAuthentication Parameter
api-keyStringRequiredAuthentication Parameter
order-idIntegerRequiredThe Order ID for which the license key is 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/linux/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/linux/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.