The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Net::WHMCS::Client - WHMCS API Clients

VERSION

version 0.10

getclientsdetails

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

https://developers.whmcs.com/api-reference/getclientsdetails/

addclient

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

https://developers.whmcs.com/api-reference/addclient/

updateclient

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

https://developers.whmcs.com/api-reference/updateclient/

deleteclient

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

https://developers.whmcs.com/api-reference/deleteclient/

closeclient

        $client->closeclient({
                clientid => 1
        });

https://developers.whmcs.com/api-reference/closeclient/

addclientnote

        $client->addclientnote({
                userid => 1,
                notes => 'Test Message'
        });

https://developers.whmcs.com/api-reference/addclientnote/

getclients

        $client->getclients()

https://developers.whmcs.com/api-reference/getclients/

getclientpassword

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

https://developers.whmcs.com/api-reference/getclientpassword/

getclientsproducts

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

https://developers.whmcs.com/api-reference/getclientsproducts/

updateclientproduct

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

https://developers.whmcs.com/api-reference/updateclientproduct/

upgradeproduct

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

https://developers.whmcs.com/api-reference/upgradeproduct/

validatelogin

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

https://developers.whmcs.com/api-reference/validatelogin/

sendemail

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

https://developers.whmcs.com/api-reference/sendemail/

AUTHOR

Fayland Lam <fayland@gmail.com>

COPYRIGHT AND LICENSE

This software is copyright (c) 2019 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.