Jump to content

Check if domain is registerd in WHMCS using API.


Deffe

Recommended Posts

Hi all.

 

I need to be able to search the WHMCS database if a domain exist or not using API.

 

The user is not logged in, a simple way would be to query the database myself to get the info I need but I like to use API instead so that it will be fairly safe upon upgrades of WHMCS.

 

steps:

1. API Call to check if any customer owns given domain name

2. return at least customer ID or if possible all customer data

3. I know the rest howto fetch all extra data if I know the customer ID or at least that the domain exist in WHMCS.

 

As I mentioned I would prefer not to use handwriten queries to prevent future problems. But if that is the only solution then so be it.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated