Class whmcsApi

Constructors

Methods

Constructors

Methods

  • Calls an Add action on the WHMCS API

    Parameters

    • action: string

      The action to call

    • opts: ModemOptions = {}

      Options for the request

    • Optionalcb: Callback

      Callback function

    Returns Promise<any>

    Promise

  • Calls an action on the WHMCS API

    Parameters

    • action: string

      The action to call

    • opts: ModemOptions = {}

      Options for the request

    • Optionalcb: Callback

      Callback function

    Returns Promise<any>

    Promise

  • Calls a Delete action on the WHMCS API

    Parameters

    • action: string

      The action to call

    • opts: ModemOptions = {}

      Options for the request

    • Optionalcb: Callback

      Callback function

    Returns Promise<any>

    Promise

  • Calls a Get action on the WHMCS API

    Parameters

    • action: string

      The action to call

    • opts: ModemOptions = {}

      Options for the request

    • Optionalcb: Callback

      Callback function

    Returns Promise<any>

    Promise

  • Calls an Update action on the WHMCS API

    Parameters

    • action: string

      The action to call

    • opts: ModemOptions = {}

      Options for the request

    • Optionalcb: Callback

      Callback function

    Returns Promise<any>

    Promise