The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Net::WHMCS::Client - WHMCS API Clients

VERSION

version 0.04

getclientsdetails

        $client->getclientsdetails({
                clientid => 1,
                stats => 'true',
        })

http://docs.whmcs.com/API:Get_Clients_Details

addclient

        $client->addclient({
                firstname => 'first',
                lastname => 'last',
                email => 'blabla@balbla.com',
                ...
        })

http://docs.whmcs.com/API:Add_Client

updateclient

        $client->updateclient({
                clientid => 1,
                firstname => 'first',
                lastname => 'last',
                email => 'blabla@balbla.com',
                ...
        })

http://docs.whmcs.com/API:Update_Client

deleteclient

        $client->deleteclient({
                clientid => 1
        })

http://docs.whmcs.com/API:Delete_Client

getclients

        $client->getclients()

http://docs.whmcs.com/API:Get_Clients

getclientpassword

        $client->getclientpassword({
                userid => 1
        })

http://docs.whmcs.com/API:Get_Clients_Password

getclientsproducts

        $client->getclientsproducts({
                clientid => 1
        })

http://docs.whmcs.com/API:Get_Clients_Products

updateclientproduct

        $client->getclientsproducts({
                serviceid => 1,
                ...
        });

http://docs.whmcs.com/API:Update_Client_Product

upgradeproduct

        $client->upgradeproduct({
                clientid => 1,
                serviceid => 1,
                type => 'product',
                newproductid => 18,
                newproductbillingcycle => 'monthly',
                paymentmethod => 'paypal'
        });

http://docs.whmcs.com/API:Upgrade_Product

validatelogin

        $client->validatelogin({
                email => 'user@domain.com',
                password2 => 'abc123'
        });

http://docs.whmcs.com/API:Validate_Login

sendemail

        $client->sendemail({
                id => 1,
                messagename => 'blabla'
        })

http://docs.whmcs.com/API:Send_Email

AUTHOR

Fayland Lam <fayland@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2013 by Fayland Lam.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.