Jump to content

A More Powerful API


Dice

Recommended Posts

We are in the process of developing a custom store based off Clients who purchase a specific product.

 

Without diving into my details, is this at all possible with the current API?

- Using the WHMCS templating system. I know we can simply create a module which will use the WHMCS templating System but does this grant us access to API use too? Or would we be better off looking through all the functions in your core files and doing includes when we need specific functions?

 

The basic needs for me is.

- the ability to add/edit/delete a product

- the ability to add/edit/delete files to that product

- the ability to add/edit/delete documentation

 

Any info?

Link to comment
Share on other sites

for customapifunctions:

* the name of the .php files in <whmcs_root>/includes/api/ without the .php at the end are the action names

just add your own API functions ;)

 

Correct. For a few websites we've created custom API-functions so we had a lot more possibilities to show and do. For a few examples, see:

http://forum.whmcs.com/showpost.php?p=147457&postcount=2

(examples are only for getting some information, but you can also do an SQL insert/delete/... ofcourse)

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