Actions51
- Client Actions
- Custom API Call Actions
- Domain Actions
- Invoice Actions
- Order Actions
- Product / Service Actions
- System Actions
- Ticket Actions
Order → Create
AI-generatedSummary
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, orstripe. - 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.