Order-VPS.

Place a new VPS order by authenticating with your WHMCS credentials and specifying the order details in JSON format.

JSON Parameters:

  • billingcycle: Specifies the billing cycle, e.g., 'monthly' or 'yearly'.
  • paymentmethod: Specifies the payment method, e.g., 'paypal'.
  • applycredit: Specifies whether to apply available account credit for the order. Accepts true or false.
  • item: An array of product configurations:
    • pid: Product ID.
    • os: Operating System ID.
    • hostname: Hostname for the VPS.
    • additional_ram: Additional RAM requested (optional).
    • additional_vcpu: Additional vCPU requested (optional).
    • additional_ip: Additional IPs requested (optional).
    • additional_diskboost: Additional disk boost requested (optional).
    • ssh_pubkey: Public SSH key for access.

Response Behavior:

  • If applycredit is set to true and there is sufficient credit in the account, the response will return:
post/kvm/v2/add/order

Request

Changes

No recorded changes to this operation across all 1 revision of this API.