WHMCS icon

WHMCS

Interact with the WHMCS billing & automation API

Domain → Renew

AI-generated

Summary

Renew a WHMCS domain by calling the DomainRenew API action for its domain record ID. You can set the registration period in years and add other case-sensitive WHMCS API parameters.

Inputs

  • Domain ID (`domainid`) (required) — ID of the client domain record (tbldomains.ID).
  • Registration Period (Years) (`regperiod`) — Renewal period in years; defaults to 1.
  • Custom Parameters (`customParameters`) — Optional additional WHMCS parameters, entered as name/value pairs. Parameter names must match the WHMCS API reference exactly, including case.

Output shape

One item per input item, containing the WHMCS API response as its JSON body.

Makes a POST request to the WHMCS API. Empty values and zero-valued domain IDs are omitted from the request body; custom parameter values are passed as entered. API errors are thrown unless Continue On Fail is enabled, in which case an item with an error field is returned.

Links

Discussion