WHMCS icon

WHMCS

Interact with the WHMCS billing & automation API

Domain → Update

AI-generated

Summary

Update a WHMCS client domain record by its domain ID, sending the selected update fields and any additional custom parameters to the UpdateClientDomain API action. Use the update fields collection for values such as renewal preference, dates, recurring amount, registrar, or status.

Inputs

  • Domain ID (required) — The ID of the client domain record (tbldomains.ID).
  • Update Fields — Optional values to update: Do Not Renew, Expiry Date, Next Due Date, Recurring Amount, Registrar, and Status. Dates are specified as YYYY-MM-DD.
  • Custom Parameters — Optional additional WHMCS API parameters. Each parameter name must match the WHMCS API Reference exactly and is case-sensitive.

Output shape

A single item per input item, containing the WHMCS API response as JSON.

Empty strings, nulls, and undefined values are omitted from the API request. WHMCS API errors are thrown unless Continue On Fail is enabled, in which case that item's output contains an error field.

Links

Discussion