Jump to content
  • 0

Getting module settings through API request




I would like to get the module settings of a service through a localAPI request but I can't seem to find the right endpoint to do so.

The one that I was thinking of `getClientsProducts` doesn't contain anything about module settings of that product.
And also `getProducts` doesn't seem to contain anything about module settings.

Does anyone know a way of achieving this?

Thanks in advance,


Link to comment
Share on other sites

2 answers to this question

Recommended Posts

  • 0

So what I am trying to do is build an API to get this, currently using localAPI through domain.tld/api.php
I have this separate from the WHMCS installation but I include init.php to be able to use some functionality
Now the thing is that it doesn't seem to be able to get the WHMCS\Product\Product class using this method.

Do you know how I can make it work like this without having to integrate it within my whmcs installation?

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.

Answer this question...

×   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