WHMCS icon

WHMCS

Interact with the WHMCS billing & automation API

Order → Create

AI-generated

Summary

Creates a WHMCS order for the specified client by calling the AddOrder API action. Supply at least one product, domain, or addon through the order parameters; add any other API parameters with Custom Parameters.

Inputs

  • Client ID (required) — WHMCS client ID to associate with the order.
  • Payment Method (required) — Payment gateway module name, such as mailin, paypal, or stripe.
  • Order Items — Provide at least one product, domain, or addon using WHMCS array-style keys. Available fields include product IDs (pid, comma-separated for multiple products), billing cycle, domain, domain type, and promo code.
  • Custom Parameters — Optional additional WHMCS API parameters. Use the exact, case-sensitive parameter names from the WHMCS API reference.

Output shape

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

The node sends a POST request to WHMCS for each input item. API errors stop execution unless Continue On Fail is enabled; then that input item returns an error object.

Links

Discussion