Jump to content

Get Client's Domains via API


beboo

Recommended Posts

Hello,

 

I am have plenty of luck with the API but my whole goal in using it was to get a list of the client's domains. We have a client that has 3 domains and a single product which only has his main domain attached to it so when i use getclientsproducts, i only get the one product and the one domain. Is there a getclientsdomains or something similar to do this? If not, how can this be accomplished? Possibly by digging around in the database instead of using the API?

 

Thanks for your time.

 

Brandon

Link to comment
Share on other sites

Well, I did some digging and was able to get it using the following SQL command:

 

SELECT domain FROM `tbldomains` WHERE `userid` = '9'

 

If there is a better way, please let me know.

 

Thanks!

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